diff options
Diffstat (limited to 'libraries/libgksu/libgksu.SlackBuild')
-rw-r--r-- | libraries/libgksu/libgksu.SlackBuild | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/libraries/libgksu/libgksu.SlackBuild b/libraries/libgksu/libgksu.SlackBuild index 4b7c894842..cb1190b5f7 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 ) |