diff options
Diffstat (limited to 'network/aMule/aMule.SlackBuild')
-rw-r--r-- | network/aMule/aMule.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/network/aMule/aMule.SlackBuild b/network/aMule/aMule.SlackBuild index 296b1e5b39..5e146f48b6 100644 --- a/network/aMule/aMule.SlackBuild +++ b/network/aMule/aMule.SlackBuild @@ -5,7 +5,8 @@ # Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmial.com PRGNAM=aMule -VERSION=${VERSION:-2.3.1} +VERSION=${VERSION:-2.3.2.r10990} +SRCVER=${SRCVER:-SVN-r10990} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -112,9 +113,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2 +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -122,8 +123,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Fix for gcc-4.7.x -sed -i "s|NotifyObservers|this->NotifyObservers|" src/ObservableQueue.h +sh autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -136,6 +136,9 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --with-wx-config=/usr/bin/wx-config \ --disable-debug \ + --enable-cas \ + --enable-wxcas \ + --with-boost \ --$AMULE_DAEMON-amule-daemon \ --$AMULE_CMD-amulecmd \ --$AMULE_WEBSERVER-webserver \ |