wok-current view gtk-gnutella/receipt @ rev 2483
gxmessage, gtk*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 15 21:03:13 2009 +0000 (2009-03-15) |
parents | 270174cf554e |
children | 8b79c3ee7ac2 |
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 expat gtk+ libiconv libxml2 \
9 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp \
10 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender"
11 BUILD_DEPENDS="zlib-dev gtk+-dev gtk+ libxml2-dev glib-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://gtk-gnutella.sourceforge.net"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./build.sh --prefix=/usr \
21 --disable-dbus \
22 --disable-ipv6 \
23 --disable-nls &&
24 make install INSTALL_PREFIX=$PWD/_pkg
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 mkdir -p $fs/usr/share/applications
32 mkdir -p $fs/usr/share/pixmaps
33 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
34 cp -a $_pkg/usr/bin/* $fs/usr/bin
35 cp -a $_pkg/usr/share/applications/* $fs/usr/share/applications/
36 cp -a $_pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps
37 cp -a $_pkg/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
38 strip -s $fs/usr/bin/*
39 }