summaryrefslogtreecommitdiffstats
path: root/extra/amule/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/amule/Pkgfile')
-rw-r--r--extra/amule/Pkgfile43
1 files changed, 20 insertions, 23 deletions
diff --git a/extra/amule/Pkgfile b/extra/amule/Pkgfile
index 8a364bca0..6b0daf98e 100644
--- a/extra/amule/Pkgfile
+++ b/extra/amule/Pkgfile
@@ -2,35 +2,32 @@
# URL: http://www.amule.org/
# Maintainer: Antti Nykänen, aon at iki dot fi
# Packager: Falcony, falcony at users dot sourceforge dot net
-# Depends on: wxgtk, crypto++
-# Run on: wxgtk,crypto++
+# Depends on: wxgtk, crypto++, gd, xorg-libxinerama, xorg-libxrandr, xorg-libxi, xorg-libxcursor
+# Run on: wxgtk,crypto++,gd,xorg-libxinerama,xorg-libxrandr,xorg-libxi,xorg-libxcursor
name=amule
-version=2.2.6
-release=2
-source=(http://download.berlios.de/amule/aMule-$version.tar.bz2\
- http://nutyx.meticul.eu/files/patchs/$name/amule-2.2.6-gcc-01.patch)
+version=10429
+release=1
+source=(http://amule.sourceforge.net/tarballs/aMule-SVN-r$version.tar.bz2)
build() {
- cd aMule-$version
- patch -Np1 -i ../amule-2.2.6-gcc-01.patch
- export CFLAGS="${CFLAGS//-fstack-protector/}"
- export CXXFLAGS="${CXXFLAGS//-fstack-protector/}"
- ./configure --prefix=/usr \
- --mandir=/usr/man \
- --disable-embedded_crypto \
- --enable-utf8-systray \
- --enable-cas \
- --enable-wxcas \
- --enable-amule-daemon \
- --enable-amulecmd \
- --enable-amule-gui \
- --enable-alc \
- --enable-alcc \
- --enable-webserver
+ cd aMule-SVN-r$version
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-cas \
+ --enable-wxcas \
+ --enable-amule-daemon \
+ --enable-amulecmd \
+ --enable-amule-gui \
+ --enable-alc \
+ --enable-alcc \
+ --enable-webserver \
+ --disable-debug \
+ --enable-optimize \
+ --enable-ccache \
+ --with-libupnp-prefix=PREFIX
make
make install DESTDIR=$PKG
- rm -rf $PKG/usr/{share/{doc,amule},man,lib,bin/autostart-xas}
}