wok view amule/receipt @ rev 17250
libarchive-dev: update genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 12:29:39 2014 +0200 (2014-10-19) |
parents | 9b6bb1d6033f |
children | a0382d5cd8f9 |
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 LICENSE="GPL2"
9 #SOURCE="aMule-SVN"
10 SOURCE="aMule"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WEB_SITE="http://www.amule.org/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 TAGS="p2p peer-to-peer fileshare"
16 DEPENDS="wxWidgets libupnp libbfd xorg-libXxf86vm"
17 BUILD_DEPENDS="wxWidgets-dev libupnp-dev cryptopp zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make $MAKEFLAGS &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/amule $fs/usr/share
36 # Remove unused files in this base package.
37 rm $fs/usr/share/amule/skins/kde4.zip
38 rm $fs/usr/share/amule/skins/gnome.zip
39 }