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

aterm beaver chemtool gftp grisbi gtick gtk-gnutella klavaro leafpad mtpaint sylpheed wine xpad: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 03 20:14:14 2008 +0000 (2008-10-03)
parents 03a799424aaa
children 270174cf554e
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-gnutella"
4 VERSION="snapshot"
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 libxml2-dev glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://gtk-gnutella.sourceforge.net"
12 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/gtk-gnutella/$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 }