wok annotate amule/receipt @ rev 4781
Fix: amule DEPENDS (Bug #227).
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 14 22:19:54 2010 +0100 (2010-01-14) |
parents | 0aad569f472b |
children | f4fd0777003f |
rev | line source |
---|---|
pankso@4078 | 1 # SliTaz package receipt. |
pankso@4078 | 2 |
pankso@4078 | 3 PACKAGE="amule" |
pankso@4078 | 4 VERSION="2.2.5" |
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" |
pankso@4078 | 8 SOURCE="aMule" |
erjo@4781 | 9 DEPENDS="wxWidgets libupnp libbfd" |
pankso@4078 | 10 BUILD_DEPENDS="wxWidgets-dev libupnp-dev cryptopp" |
pankso@4078 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@4078 | 12 WEB_SITE="http://www.amule.org/" |
pankso@4078 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@4078 | 14 |
pankso@4078 | 15 # Rules to configure and make the package. |
pankso@4078 | 16 compile_rules() |
pankso@4078 | 17 { |
pankso@4078 | 18 cd $src |
pankso@4078 | 19 ./configure \ |
pankso@4078 | 20 --prefix=/usr \ |
pankso@4078 | 21 $CONFIGURE_ARGS && |
pankso@4078 | 22 make && |
pankso@4078 | 23 make DESTDIR=$PWD/_pkg install |
pankso@4078 | 24 } |
pankso@4078 | 25 |
pankso@4078 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4078 | 27 genpkg_rules() |
pankso@4078 | 28 { |
pankso@4078 | 29 mkdir -p $fs/usr/share |
pankso@4078 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@4078 | 31 cp -a $_pkg/usr/share/amule $fs/usr/share |
pankso@4078 | 32 # Remove unused files in this base package. |
pankso@4078 | 33 rm $fs/usr/bin/autostart-xas |
pankso@4078 | 34 rm $fs/usr/share/amule/skins/kde4.zip |
pankso@4078 | 35 rm $fs/usr/share/amule/skins/gnome.zip |
pankso@4078 | 36 } |