2014-01-03 01:14:13 +08:00
|
|
|
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
|
|
|
|
2013-04-28 06:34:18 +08:00
|
|
|
pkgname=amule
|
2014-02-25 04:36:25 +08:00
|
|
|
pkgver=10834
|
2014-04-17 06:16:17 +08:00
|
|
|
pkgrel=3
|
2013-04-28 06:34:18 +08:00
|
|
|
pkgdesc="An eMule-like client for ed2k p2p network"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="http://www.amule.org"
|
|
|
|
license=('GPL')
|
2014-04-17 06:16:17 +08:00
|
|
|
depends=('wxgtk' 'wxgtk2.8' 'gd' 'geoip' 'libupnp' 'crypto++' 'libsm')
|
2013-05-01 01:12:37 +08:00
|
|
|
makedepends=('ccache')
|
2014-02-25 04:36:25 +08:00
|
|
|
install=amule.install
|
2013-05-01 01:12:37 +08:00
|
|
|
source=("http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2"
|
2014-02-25 04:36:25 +08:00
|
|
|
"http://chakra.sourceforge.net/sources/oxygen-themes/aMule_Oxygen_Skin.zip"
|
|
|
|
'amuled.systemd'
|
|
|
|
'amuleweb.systemd')
|
|
|
|
md5sums=('80e6375acbdc287b15cc92131bf9e027'
|
|
|
|
'9c1c06c1f7eaffd5dd383b7e0348b6db'
|
|
|
|
'59772c41860e238f1c822feb8ca8d47f'
|
|
|
|
'05975c5d94bfc41fddb894d98b1115d5')
|
|
|
|
|
2013-04-28 06:34:18 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/aMule-SVN-r${pkgver}"
|
|
|
|
|
2013-11-11 02:40:09 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/share/man \
|
2013-04-28 06:34:18 +08:00
|
|
|
--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 \
|
2013-05-01 01:12:37 +08:00
|
|
|
--disable-plasmamule \
|
2014-04-17 06:16:17 +08:00
|
|
|
--enable-upnp \
|
|
|
|
--with-wxversion=2.8
|
2013-04-28 06:34:18 +08:00
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/aMule-SVN-r${pkgver}"
|
|
|
|
|
|
|
|
make DESTDIR=${pkgdir}/ install
|
2013-05-01 01:12:37 +08:00
|
|
|
|
2013-11-11 02:40:09 +08:00
|
|
|
cp -f $srcdir/aMule_Oxygen_Skin.zip $pkgdir/usr/share/amule/skins/
|
2014-02-25 04:36:25 +08:00
|
|
|
|
|
|
|
install -D -m644 "${srcdir}/amuled.systemd" "${pkgdir}/usr/lib/systemd/system/amuled.service"
|
|
|
|
install -D -m644 "${srcdir}/amuleweb.systemd" "${pkgdir}/usr/lib/systemd/system/amuleweb.service"
|
2013-04-28 06:34:18 +08:00
|
|
|
}
|