wok-6.x view gtk-gnutella/receipt @ rev 2052

gtk+: (build)depends on libgio
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 17 20:50:01 2009 +0100 (2009-01-17)
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 }