diff options
author | slakmagik <jsun@freeshell.org> | 2010-05-13 00:34:09 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:34:09 +0200 |
commit | 181bb957ab7de165420cf5b378935ef83f8cdd75 (patch) | |
tree | 2a62631735e44b5d0f33f23f08aa0fa1f1d8e1b2 /misc/dwdiff/dwdiff.SlackBuild | |
parent | 4cf9e554244d0066f4846985d230bf2729737771 (diff) | |
download | slackbuilds-181bb957ab7de165420cf5b378935ef83f8cdd75.tar.gz |
misc/dwdiff: Updated for version 1.6.1
Diffstat (limited to 'misc/dwdiff/dwdiff.SlackBuild')
-rw-r--r-- | misc/dwdiff/dwdiff.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/misc/dwdiff/dwdiff.SlackBuild b/misc/dwdiff/dwdiff.SlackBuild index 3953478a18..290fa75038 100644 --- a/misc/dwdiff/dwdiff.SlackBuild +++ b/misc/dwdiff/dwdiff.SlackBuild @@ -5,7 +5,7 @@ # Released under the WTFPL PRGNAM=dwdiff -VERSION=${VERSION:-1.5.2} +VERSION=${VERSION:-1.6.1} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,10 +17,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 if [[ -z $UNICODE ]]; then @@ -52,7 +55,7 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --mandir='$(prefix)/man' -make LINGUAS="${NLS:=""}" prefix=$PKG/usr +make LINGUAS="${NLS:=""}" prefix=/usr make LINGUAS="${NLS:=""}" prefix=$PKG/usr install mv $PKG/usr/share/doc $PKG/usr @@ -78,4 +81,4 @@ 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} |