diff options
-rw-r--r-- | libraries/cdk/cdk.SlackBuild | 24 | ||||
-rw-r--r-- | libraries/cdk/cdk.info | 6 |
2 files changed, 14 insertions, 16 deletions
diff --git a/libraries/cdk/cdk.SlackBuild b/libraries/cdk/cdk.SlackBuild index 5deb6aa4bd38b..81b7e960e8a16 100644 --- a/libraries/cdk/cdk.SlackBuild +++ b/libraries/cdk/cdk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cdk -# Copyright 2010-2013 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2010-2016 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cdk -VERSION=${VERSION:-5.0_20140118} +VERSION=${VERSION:-5.0_20150928} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,13 +64,10 @@ tar xvf $CWD/$PRGNAM-${VERSION/_/-}.tgz cd $PRGNAM-${VERSION/_/-} chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Fix cdk-config.in lib directory. -sed -i "s|/lib\>|/lib${LIBDIRSUFFIX}|" cdk-config.in + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -81,22 +78,23 @@ CXXFLAGS="$SLKCFLAGS" \ --with-ncursesw \ --with-x \ --with-Xaw3d \ + --with-Xaw3dxft \ --with-libtool \ - --disable-rpath-hack \ + --with-shared \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG DOCUMENT_DIR=$PKG/usr/doc/$PRGNAM-$VERSION -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -# Fix permissions on the config and dynamic library files. +# Fix permissions on the dynamic library files. ABI_VERSION=$($PKG/usr/bin/${PRGNAM}5-config --abi-version) -chmod 0755 $PKG/usr/bin/cdk5-config $PKG/usr/lib${LIBDIRSUFFIX}/libcdkw.so.${ABI_VERSION} +chmod 0755 $PKG/usr/lib${LIBDIRSUFFIX}/libcdkw.so.${ABI_VERSION} cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/cdk/cdk.info b/libraries/cdk/cdk.info index 5a62a2ff9799b..cc21dd6a143ee 100644 --- a/libraries/cdk/cdk.info +++ b/libraries/cdk/cdk.info @@ -1,8 +1,8 @@ PRGNAM="cdk" -VERSION="5.0_20140118" +VERSION="5.0_20150928" HOMEPAGE="http://invisible-island.net/cdk/" -DOWNLOAD="ftp://invisible-island.net/cdk/cdk-5.0-20140118.tgz" -MD5SUM="d2687e5558b6d6be5fd39328e5c86033" +DOWNLOAD="ftp://invisible-island.net/cdk/cdk-5.0-20150928.tgz" +MD5SUM="4cdeb55c4f9e8fb81c411f1f2a7564a5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |