diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libtar/libtar.SlackBuild | 27 | ||||
-rw-r--r-- | libraries/libtar/libtar.info | 10 |
2 files changed, 23 insertions, 14 deletions
diff --git a/libraries/libtar/libtar.SlackBuild b/libraries/libtar/libtar.SlackBuild index d06d1c64a1..bf1f01331e 100644 --- a/libraries/libtar/libtar.SlackBuild +++ b/libraries/libtar/libtar.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for libtar +# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com + # Copyright 2009 David Woodfall <dave@unrealize.co.uk> # All rights reserved. # @@ -27,7 +29,8 @@ PRGNAM=libtar -VERSION=${VERSION:-1.2.11} +VERSION=${VERSION:-1.2.20} +SRCVERSION=${SRCVERSION:-0907a9034eaf2a57e8e4a9439f793f3f05d446cd} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,16 +66,21 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM +if [ -e $CWD/$SRCVERSION.tar.gz ]; then + tar xvf $CWD/$SRCVERSION.tar.gz +else + tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz +fi +cd $PRGNAM 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 {} \; + \( -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 {} \; +autoreconf -vif CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -81,12 +89,13 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ + --disable-static \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -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 {} \; diff --git a/libraries/libtar/libtar.info b/libraries/libtar/libtar.info index 8e5f793e9c..476c97acff 100644 --- a/libraries/libtar/libtar.info +++ b/libraries/libtar/libtar.info @@ -1,10 +1,10 @@ PRGNAM="libtar" -VERSION="1.2.11" +VERSION="1.2.20" HOMEPAGE="http://www.feep.net/libtar/" -DOWNLOAD="ftp://ftp.feep.net/pub/software/libtar/libtar-1.2.11.tar.gz" -MD5SUM="604238e8734ce6e25347a58c4f1a1d7e" +DOWNLOAD="http://repo.or.cz/w/libtar.git/snapshot/0907a9034eaf2a57e8e4a9439f793f3f05d446cd.tar.gz" +MD5SUM="863a457f6e19763c6c8f5108b85d24cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="David Woodfall" -EMAIL="dave@dawoodfall.net" +MAINTAINER="Ryan P.C. McQuen" +EMAIL="ryan.q@linux.com" |