wok view amule/receipt @ rev 7856
ruby: build and package with shared library, added zlib-dev BUILD_DEPENDS.
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Fri Dec 31 08:55:12 2010 +0000 (2010-12-31) |
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 }