From 8532276c306faccf1752875bd7c4eb278529730c Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 6 Sep 2012 21:53:31 -0400 Subject: libraries/libgksu: Updated for version 2.0.12. Signed-off-by: dsomero --- libraries/libgksu/libgksu.SlackBuild | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'libraries/libgksu/libgksu.SlackBuild') 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 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 ) -- cgit v1.2.3