mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-02-03 08:47:14 +08:00
55 lines
1.7 KiB
Bash
55 lines
1.7 KiB
Bash
pkgname=amule
|
|
pkgver=10922
|
|
pkgrel=3
|
|
pkgdesc="An eMule-like client for ed2k p2p network"
|
|
arch=('x86_64')
|
|
url="http://www.amule.org"
|
|
license=('GPL')
|
|
depends=('wxgtk' 'wxgtk2.8' 'gd' 'geoip' 'libupnp' 'crypto++' 'libsm')
|
|
makedepends=('ccache')
|
|
install=amule.install
|
|
source=("http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2"
|
|
"http://chakra.sourceforge.net/sources/oxygen-themes/aMule_Oxygen_Skin.zip"
|
|
'amuled.systemd'
|
|
'amuleweb.systemd')
|
|
sha256sums=('a8a36ca019c321e9df289c96e078bcc16b6c7d6a13a7384364eacfca4ba545cd'
|
|
'a340cadb86697acde60b94187fe0134d5262635233870e583a766aa1b8aa06ad'
|
|
'527a2cca6d56b8269722aafc77a89734f59a929f946f342bd0f69b256f9c7522'
|
|
'f4f43b1154ddccc9036a4291a58c6715f097b171fec62ea7aead0c9d9fa654f2')
|
|
|
|
build() {
|
|
cd aMule-SVN-r${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-profile \
|
|
--enable-mmap \
|
|
--enable-ccache \
|
|
--enable-geoip \
|
|
--enable-upnp \
|
|
--with-wxversion=2.8
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd aMule-SVN-r${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
cp -f "${srcdir}/aMule_Oxygen_Skin.zip" "${pkgdir}/usr/share/amule/skins/"
|
|
|
|
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"
|
|
}
|