wok view amule/receipt @ rev 20614
palemoon: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 20 21:37:38 2018 +0100 (2018-12-20) |
parents | 77cbb661144f |
children | 12ed9f875f05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="amule"
4 VERSION="2.3.2"
5 CATEGORY="network"
6 SHORT_DESC="An eMule-like client for the eD2k and Kademlia networks."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.amule.org/"
10 SOURCE="aMule"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="p2p peer-to-peer fileshare"
15 DEPENDS="wxWidgets libupnp libbfd xorg-libXxf86vm cryptopp zlib"
16 BUILD_DEPENDS="wxWidgets-dev libupnp-dev cryptopp zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make $MAKEFLAGS &&
25 make DESTDIR=$DESTDIR install
26 ./configure \
27 --prefix=/usr \
28 --disable-monolithic \
29 --enable-amule-daemon \
30 --enable-amulecmd \
31 --enable-webserver \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
41 rm -rf $install/usr/share/man/?? $install/usr/share/man/*_*
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/amule $fs/usr/share
44 # Remove unused files in this base package.
45 rm $fs/usr/share/amule/skins/kde4.zip
46 rm $fs/usr/share/amule/skins/gnome.zip
47 }