wok annotate amule/receipt @ rev 21174

updated libev and libev-dev (4.04 -> 4.25)
author Hans-G?nter Theisgen
date Mon Apr 01 16:56:17 2019 +0100 (2019-04-01)
parents c2946aeb8b57
children e24deaebffc6
rev   line source
pankso@4078 1 # SliTaz package receipt.
pankso@4078 2
pankso@4078 3 PACKAGE="amule"
pascal@20458 4 VERSION="2.3.2"
pankso@4078 5 CATEGORY="network"
Hans-G?nter@20980 6 TAGS="p2p peer-to-peer fileshare"
pankso@4078 7 SHORT_DESC="An eMule-like client for the eD2k and Kademlia networks."
pankso@4078 8 MAINTAINER="pankso@slitaz.org"
pascal@15201 9 LICENSE="GPL2"
al@19275 10 WEB_SITE="http://www.amule.org/"
Hans-G?nter@20980 11
slaxemulator@11644 12 SOURCE="aMule"
pascal@11648 13 TARBALL="$SOURCE-$VERSION.tar.xz"
pascal@11648 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@4078 15
pascal@18798 16 DEPENDS="wxWidgets libupnp libbfd xorg-libXxf86vm cryptopp zlib"
pascal@15201 17 BUILD_DEPENDS="wxWidgets-dev libupnp-dev cryptopp zlib-dev"
pascal@15201 18
pankso@4078 19 # Rules to configure and make the package.
pankso@4078 20 compile_rules()
pankso@4078 21 {
Hans-G?nter@20980 22 # What works for imule (see https://aur.archlinux.org/packages/imule)
Hans-G?nter@20980 23 # might work for amule also:
Hans-G?nter@20980 24 sed -i 's/pubkey.DEREncode(asink);/pubkey.AccessMaterial().Save(asink);/g' \
Hans-G?nter@20980 25 src/ClientCreditsList.cpp
Hans-G?nter@20980 26
pankso@4078 27 ./configure \
pankso@4078 28 --prefix=/usr \
pankso@4078 29 $CONFIGURE_ARGS &&
gokhlayeh@11574 30 make $MAKEFLAGS &&
slaxemulator@11644 31 make DESTDIR=$DESTDIR install
pascal@20458 32 ./configure \
pascal@20458 33 --prefix=/usr \
pascal@20458 34 --disable-monolithic \
pascal@20458 35 --enable-amule-daemon \
pascal@20458 36 --enable-amulecmd \
pascal@20458 37 --enable-webserver \
pascal@20458 38 $CONFIGURE_ARGS &&
pascal@20458 39 make $MAKEFLAGS &&
pascal@20458 40 make DESTDIR=$DESTDIR install
pankso@4078 41 }
pankso@4078 42
pankso@4078 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4078 44 genpkg_rules()
pankso@4078 45 {
slaxemulator@11644 46 mkdir -p $fs/usr/share
pascal@20459 47 rm -rf $install/usr/share/man/?? $install/usr/share/man/*_*
pascal@15201 48 cp -a $install/usr/bin $fs/usr
pascal@15201 49 cp -a $install/usr/share/amule $fs/usr/share
pankso@4078 50 # Remove unused files in this base package.
pankso@4078 51 rm $fs/usr/share/amule/skins/kde4.zip
pankso@4078 52 rm $fs/usr/share/amule/skins/gnome.zip
pankso@4078 53 }