wok annotate amule/receipt @ rev 19685

Up tazpkg (942)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Feb 12 04:43:38 2017 +0200 (2017-02-12)
parents f0a0b5091b4a
children 77cbb661144f
rev   line source
pankso@4078 1 # SliTaz package receipt.
pankso@4078 2
pankso@4078 3 PACKAGE="amule"
slaxemulator@11644 4 VERSION="2.3.1"
pankso@4078 5 CATEGORY="network"
pankso@4078 6 SHORT_DESC="An eMule-like client for the eD2k and Kademlia networks."
pankso@4078 7 MAINTAINER="pankso@slitaz.org"
pascal@15201 8 LICENSE="GPL2"
al@19275 9 WEB_SITE="http://www.amule.org/"
slaxemulator@11644 10 SOURCE="aMule"
pascal@11648 11 TARBALL="$SOURCE-$VERSION.tar.xz"
pascal@11648 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@14528 13 TAGS="p2p peer-to-peer fileshare"
pankso@4078 14
pascal@18798 15 DEPENDS="wxWidgets libupnp libbfd xorg-libXxf86vm cryptopp zlib"
pascal@15201 16 BUILD_DEPENDS="wxWidgets-dev libupnp-dev cryptopp zlib-dev"
pascal@15201 17
pankso@4078 18 # Rules to configure and make the package.
pankso@4078 19 compile_rules()
pankso@4078 20 {
pankso@4078 21 ./configure \
pankso@4078 22 --prefix=/usr \
pankso@4078 23 $CONFIGURE_ARGS &&
gokhlayeh@11574 24 make $MAKEFLAGS &&
slaxemulator@11644 25 make DESTDIR=$DESTDIR install
pankso@4078 26 }
pankso@4078 27
pankso@4078 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4078 29 genpkg_rules()
pankso@4078 30 {
slaxemulator@11644 31 mkdir -p $fs/usr/share
pascal@15201 32 cp -a $install/usr/bin $fs/usr
pascal@15201 33 cp -a $install/usr/share/amule $fs/usr/share
pankso@4078 34 # Remove unused files in this base package.
pankso@4078 35 rm $fs/usr/share/amule/skins/kde4.zip
pankso@4078 36 rm $fs/usr/share/amule/skins/gnome.zip
pankso@4078 37 }