diff options
-rw-r--r-- | network/d4x/README | 2 | ||||
-rw-r--r-- | network/d4x/d4x.SlackBuild | 10 | ||||
-rw-r--r-- | network/d4x/d4x.info | 2 |
3 files changed, 9 insertions, 5 deletions
diff --git a/network/d4x/README b/network/d4x/README index 5fbaad1dc8..9111ca084c 100644 --- a/network/d4x/README +++ b/network/d4x/README @@ -1,8 +1,6 @@ Downloader For X (or simply D4X) is a download manager/accelerator for Unix-like systems. -This requires boost. - Note: By default, the slackbuild script has sound functionality turned off. This can be enabled by passing the following to the slackbuild: D4X_LIBAO=yes ./d4x.SlackBuild diff --git a/network/d4x/d4x.SlackBuild b/network/d4x/d4x.SlackBuild index 4da7974158..0b120b308e 100644 --- a/network/d4x/d4x.SlackBuild +++ b/network/d4x/d4x.SlackBuild @@ -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 set -e @@ -47,15 +50,16 @@ sed -i "s:path\=d4x:\/\/path\=d4x:" main/addr.cc # Option to include libao library; default=no if [ ${D4X_LIBAO:-no} == no ]; then - D4X_AO=dis + D4X_AO=dis else - D4X_AO=en + D4X_AO=en fi CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --${D4X_AO}able-libao \ --with-x=yes \ --disable-openssl \ @@ -92,4 +96,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh 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/network/d4x/d4x.info b/network/d4x/d4x.info index 267f58a38e..531da1576c 100644 --- a/network/d4x/d4x.info +++ b/network/d4x/d4x.info @@ -2,7 +2,9 @@ PRGNAM="d4x" VERSION="2.5.7.1" HOMEPAGE="http://en.wikipedia.org/wiki/Downloader_for_X" DOWNLOAD="http://repository.slacky.eu/slackware-12.1/network/d4x/2.5.7.1/src/d4x-2.5.7.1.tar.bz2" +DOWNLOAD_x86_64="" MD5SUM="68d6336c3749a7caabb0f5a5f84f4102" +MD5SUM_x86_64="" MAINTAINER="Larry Hajali" EMAIL="larryhaja[at]gmail[dot]com" APPROVED="dsmoero" |