aboutsummaryrefslogtreecommitdiff
path: root/network/d4x
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:36:05 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:36:05 +0200
commit279fc45cbba317aa8e5e036a2d3e8d48c22d2c8e (patch)
treeef1c9a3b6a644caf6bdc65b35689c61c3dbb82a0 /network/d4x
parent8ce61e6adc28033cedd8097eda4856f249739137 (diff)
network/d4x: Updated for version 2.5.7.1
Diffstat (limited to 'network/d4x')
-rw-r--r--network/d4x/README2
-rw-r--r--network/d4x/d4x.SlackBuild10
-rw-r--r--network/d4x/d4x.info2
3 files changed, 9 insertions, 5 deletions
diff --git a/network/d4x/README b/network/d4x/README
index 5fbaad1dc8c80..9111ca084ca02 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 4da7974158815..0b120b308e6a5 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 267f58a38e509..531da1576c80b 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"