wok view amule/receipt @ rev 12676
mpd: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 13:46:30 2012 +0200 (2012-05-01) |
parents | 166b02757b51 |
children | 9b6bb1d6033f |
line source
1 # SliTaz package receipt.
3 PACKAGE="amule"
4 VERSION="2.3.1"
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 SOURCE="aMule"
10 DEPENDS="wxWidgets libupnp libbfd xorg-libXxf86vm"
11 BUILD_DEPENDS="wxWidgets-dev libupnp-dev cryptopp zlib-dev"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WEB_SITE="http://www.amule.org/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$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 $MAKEFLAGS &&
25 make DESTDIR=$DESTDIR 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 }