wok-6.x view amule/receipt @ rev 9776

vanessa_logger: fix genpkg_rules for cookutils
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 22:44:41 2011 +0200 (2011-05-11)
parents 4689b203643a
children 8e4c74abdf74
line source
1 # SliTaz package receipt.
3 PACKAGE="amule"
4 VERSION="r10365"
5 CATEGORY="network"
6 SHORT_DESC="An eMule-like client for the eD2k and Kademlia networks."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="aMule-SVN"
9 DEPENDS="wxWidgets libupnp libbfd xorg-libXxf86vm"
10 BUILD_DEPENDS="wxWidgets-dev libupnp-dev cryptopp zlib-dev"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.amule.org/"
13 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 WGET_URL="http://amule.sourceforge.net/tarballs/$TARBALL"
15 TAGS="p2p peer-to-peer file-share"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make -j 4 &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/amule $fs/usr/share
34 # Remove unused files in this base package.
35 rm $fs/usr/share/amule/skins/kde4.zip
36 rm $fs/usr/share/amule/skins/gnome.zip
37 }