blob: c073fe77c4bc801a1817a5d8bc423dbec3fb81ec (
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
33
34
|
# 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\
amule-2.2.6-gcc-01.patch)
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
make
make install DESTDIR=$PKG
rm -rf $PKG/usr/{share/{doc,amule},man,lib,bin/autostart-xas}
}
|