wok view gtk-gnutella/receipt @ rev 1632
e2fsprogs: not common files with libcomerr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 23 20:32:09 2008 +0000 (2008-10-23) |
parents | f08ead2d5191 |
children | c91fdd0583b9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-gnutella"
4 VERSION="0.96.5"
5 CATEGORY="network"
6 SHORT_DESC="p2p client"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="gnutls libgcrypt libgpg-error"
9 BUILD_DEPENDS="zlib-dev gtk+-dev gtk+ libxml2-dev glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://gtk-gnutella.sourceforge.net"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./build.sh --prefix=/usr \
19 --disable-dbus \
20 --disable-ipv6 \
21 --disable-nls &&
22 make install INSTALL_PREFIX=$PWD/_pkg
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 mkdir -p $fs/usr/share/applications
30 mkdir -p $fs/usr/share/pixmaps
31 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
32 cp -a $_pkg/usr/bin/* $fs/usr/bin
33 cp -a $_pkg/usr/share/applications/* $fs/usr/share/applications/
34 cp -a $_pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps
35 cp -a $_pkg/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
36 strip -s $fs/usr/bin/*
37 }