From cb2835a7502d40937fbcea113c9eb8d7713b6ff6 Mon Sep 17 00:00:00 2001 From: Ben Collver Date: Thu, 13 May 2010 00:41:17 +0200 Subject: system/pax: Updated for version 3.4 --- system/pax/README | 5 ++--- system/pax/pax.SlackBuild | 19 +++++++++++++------ system/pax/pax.info | 2 ++ 3 files changed, 17 insertions(+), 9 deletions(-) (limited to 'system/pax') diff --git a/system/pax/README b/system/pax/README index ff74637561..dcafcf26a4 100644 --- a/system/pax/README +++ b/system/pax/README @@ -1,3 +1,2 @@ -Pax is the POSIX standard archive tool. -It supports the two most common forms of standard archive (backup) -files - CPIO and TAR. +Pax is the POSIX standard archive tool. It supports the two most +common forms of standard archive (backup) files - CPIO and TAR. diff --git a/system/pax/pax.SlackBuild b/system/pax/pax.SlackBuild index 6cfd06bab8..5a9ee4ae28 100644 --- a/system/pax/pax.SlackBuild +++ b/system/pax/pax.SlackBuild @@ -32,10 +32,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -56,6 +59,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -65,8 +69,10 @@ make make install DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) ( cd $PKG/usr/man @@ -75,12 +81,13 @@ make install DESTDIR=$PKG ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README THANKS \ - $PKG/usr/doc/$PRGNAM-$VERSION -chmod -R a-w $PKG/usr/doc/$PRGNAM-$VERSION/* +cp -a \ + ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README THANKS \ + $PKG/usr/doc/$PRGNAM-$VERSION +chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/pax/pax.info b/system/pax/pax.info index faad229d47..d4a180c5a9 100644 --- a/system/pax/pax.info +++ b/system/pax/pax.info @@ -3,6 +3,8 @@ VERSION="3.4" HOMEPAGE="http://slackware.com/~alien/slackbuilds/pax/" DOWNLOAD="http://slackware.com/~alien/slackbuilds/pax/build/pax-3.4.tar.bz2" MD5SUM="fbd9023b590b45ac3ade95870702a0d6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Ben Collver" EMAIL="bencollver@gmail.com" APPROVED="rworkman" -- cgit v1.2.3