blob: b569514027e636cccfc45bc72189199453d7c31b (
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
|
# $Id: PKGBUILD 155990 2012-04-10 22:28:11Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Henrik Ronellenfitsch <searinox@web.de>
# Contributor: Alessio Sergi <sergi.alessio {at} gmail.com>
# Contributor: Dario 'Dax' Vilardi <dax [at] deelab [dot] org>
pkgname=amule
pkgver=10771
pkgrel=1
pkgdesc="An eMule-like client for ed2k p2p network"
arch=('i686' 'x86_64')
url="http://www.amule.org"
license=('GPL')
depends=('wxgtk' 'gd' 'geoip' 'libupnp' 'crypto++')
source=("http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2"
'gcc4.7.patch')
md5sums=('0439a71048c7dbdf912d19979dc0faad'
'0498a6795f4ac3a3e8bbcf51a5026820')
build() {
cd "${srcdir}/aMule-SVN-r${pkgver}"
# Fix gcc-4.7 build
patch -Np1 -i "${srcdir}/gcc4.7.patch"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-cas \
--enable-wxcas \
--enable-amule-daemon \
--enable-amulecmd \
--enable-amule-gui \
--enable-alc \
--enable-alcc \
--enable-webserver \
--disable-debug \
--enable-optimize \
--enable-ccache \
--enable-geoip \
--enable-upnp
make
}
package() {
cd "${srcdir}/aMule-SVN-r${pkgver}"
make DESTDIR=${pkgdir}/ install
}
|