aboutsummaryrefslogtreecommitdiff
path: root/network/aMule/aMule.SlackBuild
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz[@]gmail.com>2012-04-29 20:00:05 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-30 00:40:02 -0500
commitb27c9f2108a6d3c681696aa93ff13ead6e09ec17 (patch)
tree23fc07cb63c5776d3d9bca01680b52bce5fd68f4 /network/aMule/aMule.SlackBuild
parent4d8dbf1c91389b44941b08481fa7757712fdeeb5 (diff)
network/aMule: Updated for version 2.3.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/aMule/aMule.SlackBuild')
-rw-r--r--network/aMule/aMule.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/network/aMule/aMule.SlackBuild b/network/aMule/aMule.SlackBuild
index 64d87d98a724f..f66c79740584d 100644
--- a/network/aMule/aMule.SlackBuild
+++ b/network/aMule/aMule.SlackBuild
@@ -5,8 +5,8 @@
# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmial.com
PRGNAM=aMule
-VERSION=${VERSION:-2.2.6}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.3.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -113,7 +113,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -130,6 +130,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--with-wx-config=/usr/bin/wx-config \
--disable-debug \
--$AMULE_DAEMON-amule-daemon \
@@ -153,10 +154,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
-mv $PKG/usr/share/doc/$PRGNAM-$VERSION/* $PKG/usr/doc/$PRGNAM-$VERSION
-rmdir $PKG/usr/share/doc/$PRGNAM-$VERSION $PKG/usr/share/doc
-
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install