diff options
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 3953478a18ab6..290fa75038807 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} |