summaryrefslogtreecommitdiffstats
path: root/extra/amule/Pkgfile
blob: dff77f3450d4e250fb1bab344e2d8f84f794ab44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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}
}