summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/amule/PKGBUILD
blob: 3bb5c1bfc9967ce74752295f440443c0883b8cbf (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
# $Id: PKGBUILD 63810 2010-01-18 20:34:42Z ibiru $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Henrik Ronellenfitsch <searinox@web.de>

pkgname=amule
pkgver=2.2.6
pkgrel=2
pkgdesc="An eMule-like client for ed2k p2p network"
arch=('i686' 'x86_64')
url="http://www.amule.org"
license=('GPL')
depends=('wxgtk>=2.8.10.1' 'gd>=2.0.35' 'geoip')
makedepends=('crypto++')
source=(http://downloads.sourceforge.net/project/${pkgname}/aMule/${pkgver}/aMule-${pkgver}.tar.bz2)
md5sums=('530d9b48187e36f78fc21bb19e94326d')

build() {
  cd ${srcdir}/aMule-${pkgver}

  ./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

  make || return 1
  make DESTDIR=${pkgdir}/ install || return 1
}