diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-13 00:25:11 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:25:11 +0200 |
commit | 14d3fcca6d285bae31ebf4b528aba2686242d7cf (patch) | |
tree | fb2f0faae95fccd6c55777be6d95c4118351d8b8 /development/patchutils | |
parent | 59e962b76e68af0a82ad74bb6330843d0e5c98b8 (diff) | |
download | slackbuilds-14d3fcca6d285bae31ebf4b528aba2686242d7cf.tar.gz |
development/patchutils: Updated for version 0.3.1
Diffstat (limited to 'development/patchutils')
-rw-r--r-- | development/patchutils/patchutils.SlackBuild | 17 | ||||
-rw-r--r-- | development/patchutils/patchutils.info | 8 | ||||
-rw-r--r-- | development/patchutils/slack-desc | 12 |
3 files changed, 22 insertions, 15 deletions
diff --git a/development/patchutils/patchutils.SlackBuild b/development/patchutils/patchutils.SlackBuild index 21ece29102..ef25e980f4 100644 --- a/development/patchutils/patchutils.SlackBuild +++ b/development/patchutils/patchutils.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for patchutils -# Copyright 2008 Robby Workman, Northport, Alabama, USA +# Copyright 2008-2009 Robby Workman, Northport, Alabama, USA # 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=patchutils -VERSION=0.3.0 +VERSION=0.3.1 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,17 +35,20 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION @@ -59,6 +62,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --mandir=/usr/man \ @@ -76,12 +80,13 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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/development/patchutils/patchutils.info b/development/patchutils/patchutils.info index 16c3c65ba2..668844720a 100644 --- a/development/patchutils/patchutils.info +++ b/development/patchutils/patchutils.info @@ -1,8 +1,10 @@ PRGNAM="patchutils" -VERSION="0.3.0" +VERSION="0.3.1" HOMEPAGE="http://cyberelk.net/tim/software/patchutils/" -DOWNLOAD="http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.0.tar.bz2" -MD5SUM="91cce007527cd0df93aeb81459575485" +DOWNLOAD="http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.1.tar.bz2" +DOWNLOAD_x86_64="" +MD5SUM="3fd9bca58a429fbbb1c2126f1b72aa23" +MD5SUM_x86_64="" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" APPROVED="dsomero" diff --git a/development/patchutils/slack-desc b/development/patchutils/slack-desc index dea7c209fe..58d7aaf7b3 100644 --- a/development/patchutils/slack-desc +++ b/development/patchutils/slack-desc @@ -11,9 +11,9 @@ patchutils: patchutils: patchutils is a collection of tools that operate on patch files. patchutils: patchutils: Homepage: http://cyberelk.net/tim/software/patchutils/ -patchutils: -patchutils: -patchutils: -patchutils: -patchutils: -patchutils: +patchutils: +patchutils: +patchutils: +patchutils: +patchutils: +patchutils: |