summaryrefslogtreecommitdiffstats
path: root/extra/amule/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/amule/Pkgfile')
-rw-r--r--extra/amule/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/amule/Pkgfile b/extra/amule/Pkgfile
new file mode 100644
index 000000000..dff77f345
--- /dev/null
+++ b/extra/amule/Pkgfile
@@ -0,0 +1,32 @@
+# Description: An all-platform Edonkey client.
+# 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++
+
+name=amule
+version=2.2.6
+release=2
+source=(http://download.berlios.de/amule/aMule-$version.tar.bz2)
+
+build() {
+ cd aMule-$version
+ 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
+ make
+ make install DESTDIR=$PKG
+ rm -rf $PKG/usr/{share/{doc,amule},man,lib,bin/autostart-xas}
+}
+