wok-current annotate amule/receipt @ rev 12725
fox14: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 05 13:03:47 2012 +0200 (2012-05-05) |
parents | 166b02757b51 |
children | 9b6bb1d6033f |
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" |
slaxemulator@11644 | 8 #SOURCE="aMule-SVN" |
slaxemulator@11644 | 9 SOURCE="aMule" |
pascal@4998 | 10 DEPENDS="wxWidgets libupnp libbfd xorg-libXxf86vm" |
slaxemulator@7177 | 11 BUILD_DEPENDS="wxWidgets-dev libupnp-dev cryptopp zlib-dev" |
pascal@11648 | 12 TARBALL="$SOURCE-$VERSION.tar.xz" |
pankso@4078 | 13 WEB_SITE="http://www.amule.org/" |
pascal@11648 | 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4931 | 15 TAGS="p2p peer-to-peer file-share" |
pankso@4078 | 16 |
pankso@4078 | 17 # Rules to configure and make the package. |
pankso@4078 | 18 compile_rules() |
pankso@4078 | 19 { |
pankso@4078 | 20 cd $src |
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 |
pankso@4078 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@4078 | 33 cp -a $_pkg/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 } |