wok view amule/receipt @ rev 21587

remove setuptools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 20 16:42:53 2019 +0200 (2019-05-20)
parents 12ed9f875f05
children 5f6c5106b1f5
line source
1 # SliTaz package receipt.
3 PACKAGE="amule"
4 VERSION="2.3.2"
5 CATEGORY="network"
6 TAGS="p2p peer-to-peer fileshare"
7 SHORT_DESC="An eMule-like client for the eD2k and Kademlia networks."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.amule.org/"
12 SOURCE="aMule"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 DEPENDS="wxWidgets libupnp libbfd xorg-libXxf86vm cryptopp zlib"
17 BUILD_DEPENDS="wxWidgets-dev libupnp-dev cryptopp zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 patch -p1 < $stuff/libupnp1.8.patch || exit 1
24 # What works for imule (see https://aur.archlinux.org/packages/imule)
25 # might work for amule also:
26 sed -i 's/pubkey.DEREncode(asink);/pubkey.AccessMaterial().Save(asink);/g' \
27 src/ClientCreditsList.cpp
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS &&
33 make DESTDIR=$DESTDIR install
34 ./configure \
35 --prefix=/usr \
36 --disable-monolithic \
37 --enable-amule-daemon \
38 --enable-amulecmd \
39 --enable-webserver \
40 $CONFIGURE_ARGS &&
41 make $MAKEFLAGS &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/share
49 rm -rf $install/usr/share/man/?? $install/usr/share/man/*_*
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/share/amule $fs/usr/share
52 # Remove unused files in this base package.
53 rm $fs/usr/share/amule/skins/kde4.zip
54 rm $fs/usr/share/amule/skins/gnome.zip
55 }