wok annotate amule/receipt @ rev 17035

slitaz-configs-base: use chroot in post_install()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 18 08:45:31 2014 +0000 (2014-08-18)
parents 9b6bb1d6033f
children a0382d5cd8f9
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"
slaxemulator@11644 9 #SOURCE="aMule-SVN"
slaxemulator@11644 10 SOURCE="aMule"
pascal@11648 11 TARBALL="$SOURCE-$VERSION.tar.xz"
pankso@4078 12 WEB_SITE="http://www.amule.org/"
pascal@11648 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@14528 14 TAGS="p2p peer-to-peer fileshare"
pankso@4078 15
pascal@15201 16 DEPENDS="wxWidgets libupnp libbfd xorg-libXxf86vm"
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 {
pankso@4078 22 cd $src
pankso@4078 23 ./configure \
pankso@4078 24 --prefix=/usr \
pankso@4078 25 $CONFIGURE_ARGS &&
gokhlayeh@11574 26 make $MAKEFLAGS &&
slaxemulator@11644 27 make DESTDIR=$DESTDIR install
pankso@4078 28 }
pankso@4078 29
pankso@4078 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4078 31 genpkg_rules()
pankso@4078 32 {
slaxemulator@11644 33 mkdir -p $fs/usr/share
pascal@15201 34 cp -a $install/usr/bin $fs/usr
pascal@15201 35 cp -a $install/usr/share/amule $fs/usr/share
pankso@4078 36 # Remove unused files in this base package.
pankso@4078 37 rm $fs/usr/share/amule/skins/kde4.zip
pankso@4078 38 rm $fs/usr/share/amule/skins/gnome.zip
pankso@4078 39 }