aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgksu/libgksu.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-06 21:53:31 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-06 21:42:28 -0500
commit8532276c306faccf1752875bd7c4eb278529730c (patch)
treedc3ef3172fbc8b577eaaa16a40f7932cdee9075f /libraries/libgksu/libgksu.SlackBuild
parent5060b9ff1025aa823c30e9ef8ddc247d0dbd4dd3 (diff)
libraries/libgksu: Updated for version 2.0.12.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/libgksu/libgksu.SlackBuild')
-rw-r--r--libraries/libgksu/libgksu.SlackBuild18
1 files changed, 15 insertions, 3 deletions
diff --git a/libraries/libgksu/libgksu.SlackBuild b/libraries/libgksu/libgksu.SlackBuild
index 4b7c894842bf9..cb1190b5f7282 100644
--- a/libraries/libgksu/libgksu.SlackBuild
+++ b/libraries/libgksu/libgksu.SlackBuild
@@ -24,16 +24,14 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=libgksu
-VERSION=${VERSION:-2.0.7}
+VERSION=${VERSION:-2.0.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -72,6 +70,19 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Patches from gentoo.
+patch -p1 < $CWD/patches/libgksu-2.0.0-fbsd.patch
+patch -p1 < $CWD/patches/libgksu-2.0.7-libs.patch
+patch -p1 < $CWD/patches/libgksu-2.0.7-polinguas.patch
+patch -p1 < $CWD/patches/libgksu-2.0.12-revert-forkpty.patch
+patch -p0 < $CWD/patches/libgksu-2.0.12-fix-make-3.82.patch
+patch -p1 < $CWD/patches/libgksu-2.0.12-notests.patch
+patch -p1 < $CWD/patches/libgksu-2.0.12-automake-1.11.2.patch
+
+touch NEWS README
+libtoolize --force --copy --install
+autoreconf
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -98,6 +109,7 @@ cp -a \
INSTALL ChangeLog COPYING AUTHORS ABOUT-NLS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
( cd $PKG/usr/doc/$PRGNAM-$VERSION
ln -s /usr/share/gtk-doc/html/libgksu html
)