wok-6.x view amule/receipt @ rev 21024
gyrus: TARBALL modified
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 10 16:14:31 2019 +0100 (2019-03-10) |
parents | c2946aeb8b57 |
children | e24deaebffc6 |
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 # What works for imule (see https://aur.archlinux.org/packages/imule)
23 # might work for amule also:
24 sed -i 's/pubkey.DEREncode(asink);/pubkey.AccessMaterial().Save(asink);/g' \
25 src/ClientCreditsList.cpp
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make $MAKEFLAGS &&
31 make DESTDIR=$DESTDIR install
32 ./configure \
33 --prefix=/usr \
34 --disable-monolithic \
35 --enable-amule-daemon \
36 --enable-amulecmd \
37 --enable-webserver \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share
47 rm -rf $install/usr/share/man/?? $install/usr/share/man/*_*
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/share/amule $fs/usr/share
50 # Remove unused files in this base package.
51 rm $fs/usr/share/amule/skins/kde4.zip
52 rm $fs/usr/share/amule/skins/gnome.zip
53 }