25 lines
639 B
Plaintext
25 lines
639 B
Plaintext
# Description: An all-platform Edonkey client.
|
|
# URL: http://www.amule.org/
|
|
# Maintainer: Antti Nykänen, aon at iki dot fi
|
|
# Packager: Daniel Walpole, daniel at walpole dot id dot au
|
|
# Depends on: wxgtk
|
|
|
|
name=amule
|
|
version=2.1.3
|
|
release=2
|
|
source=(http://download.berlios.de/amule/aMule-$version.tar.bz2
|
|
$name-$version-wx.diff)
|
|
|
|
build() {
|
|
cd aMule-$version
|
|
patch -p1 -i $SRC/$name-$version-wx.diff
|
|
export CFLAGS="${CFLAGS//-fstack-protector/}"
|
|
export CXXFLAGS="${CXXFLAGS//-fstack-protector/}"
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-nls
|
|
make
|
|
make install DESTDIR=$PKG
|
|
rm -r $PKG/usr{/share/doc,/man/??}
|
|
}
|