network/aMule: Updated for version 2.3.1.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Ozan Türkyılmaz 2012-04-29 20:00:05 -04:00 committed by Erik Hanson
parent 4d8dbf1c91
commit b27c9f2108
2 changed files with 7 additions and 10 deletions

View file

@ -5,8 +5,8 @@
# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmial.com # Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmial.com
PRGNAM=aMule PRGNAM=aMule
VERSION=${VERSION:-2.2.6} VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-2} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -113,7 +113,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find . \ find . \
@ -130,6 +130,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--mandir=/usr/man \ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-wx-config=/usr/bin/wx-config \ --with-wx-config=/usr/bin/wx-config \
--disable-debug \ --disable-debug \
--$AMULE_DAEMON-amule-daemon \ --$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 {} \; 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 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="aMule" PRGNAM="aMule"
VERSION="2.2.6" VERSION="2.3.1"
HOMEPAGE="http://www.amule.org" HOMEPAGE="http://www.amule.org"
DOWNLOAD="http://downloads.sourceforge.net/amule/aMule-2.2.6.tar.bz2" DOWNLOAD="http://downloads.sourceforge.net/amule/aMule-2.3.1.tar.xz"
MD5SUM="530d9b48187e36f78fc21bb19e94326d" MD5SUM="5f5707ad2073d37100409870aa5d3f93"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Ozan Türkyılmaz" MAINTAINER="Ozan Türkyılmaz"