wok-current view amule/receipt @ rev 8254

shellinabox: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 29 16:09:40 2011 +0100 (2011-01-29)
parents 00d7ce375104
children fd9f62a2ae33
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/bin/autostart-xas
36 rm $fs/usr/share/amule/skins/kde4.zip
37 rm $fs/usr/share/amule/skins/gnome.zip
38 }