blob: 5e835fb227236c622b662b097022dc7d5ecbc470 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=amule
pkgsvn=aMule-SVN-r
pkgver=10852
pkgrel=0
pkgdesc="An eMule-like client for the eD2k and Kademlia networks"
url="http://www.amule.org"
arch="x86_64"
license="GPL2"
depends=""
depends_dev="crypto++-dev gd-dev geoip-dev libsm-dev libupnp-dev wxgtk2.8-dev"
makedepends="$depends_dev bison"
install=""
subpackages="$pkgname-lang $pkgname-doc"
source="http://amule.sourceforge.net/tarballs/${pkgsvn}${pkgver}.tar.bz2"
_builddir=$srcdir/${pkgsvn}${pkgver}
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--with-wxversion=2.8 \
--enable-amule-daemon \
--enable-amulecmd \
--enable-amule-gui \
--enable-webserver \
--enable-alc \
--enable-alcc \
--enable-geoip \
--enable-upnp \
--disable-debug \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="7869cd9f40f709b084b5b4d9d726f7e7 aMule-SVN-r10852.tar.bz2"
sha256sums="3a97c844235556c18d2344e7e7bd758be6cb603e09f866d0c9d68836021c306d aMule-SVN-r10852.tar.bz2"
sha512sums="00caaae6f6a6832200a6267676160d2554ecee93e1256257311586a29e6b1ba3f44e61ad159051224ad55071cf27e9c45f2ea2603de41163ff487f1c5d7a4847 aMule-SVN-r10852.tar.bz2"
|