wok-current annotate amule/receipt @ rev 23288

updated perl-apache-dbi (1.07 -> 1.12)
author Hans-G?nter Theisgen
date Sun Mar 29 15:03:00 2020 +0100 (2020-03-29)
parents 12ed9f875f05
children 5f6c5106b1f5
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 {
mojo@21350 22 patch -p1 < $stuff/libupnp1.8.patch || exit 1
mojo@21350 23
Hans-G?nter@20980 24 # What works for imule (see https://aur.archlinux.org/packages/imule)
Hans-G?nter@20980 25 # might work for amule also:
Hans-G?nter@20980 26 sed -i 's/pubkey.DEREncode(asink);/pubkey.AccessMaterial().Save(asink);/g' \
Hans-G?nter@20980 27 src/ClientCreditsList.cpp
Hans-G?nter@20980 28
pankso@4078 29 ./configure \
pankso@4078 30 --prefix=/usr \
pankso@4078 31 $CONFIGURE_ARGS &&
gokhlayeh@11574 32 make $MAKEFLAGS &&
slaxemulator@11644 33 make DESTDIR=$DESTDIR install
pascal@20458 34 ./configure \
pascal@20458 35 --prefix=/usr \
pascal@20458 36 --disable-monolithic \
pascal@20458 37 --enable-amule-daemon \
pascal@20458 38 --enable-amulecmd \
pascal@20458 39 --enable-webserver \
pascal@20458 40 $CONFIGURE_ARGS &&
pascal@20458 41 make $MAKEFLAGS &&
pascal@20458 42 make DESTDIR=$DESTDIR install
pankso@4078 43 }
pankso@4078 44
pankso@4078 45 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4078 46 genpkg_rules()
pankso@4078 47 {
slaxemulator@11644 48 mkdir -p $fs/usr/share
pascal@20459 49 rm -rf $install/usr/share/man/?? $install/usr/share/man/*_*
pascal@15201 50 cp -a $install/usr/bin $fs/usr
pascal@15201 51 cp -a $install/usr/share/amule $fs/usr/share
pankso@4078 52 # Remove unused files in this base package.
pankso@4078 53 rm $fs/usr/share/amule/skins/kde4.zip
pankso@4078 54 rm $fs/usr/share/amule/skins/gnome.zip
pankso@4078 55 }