wok view gtk-gnutella/receipt @ rev 1407

feh : fix depends
fix build-depends
fix receipt to copy yudit.ttf font and images
author Mallory MOLLO <mallory@sweetpeople.org
date Tue Sep 23 21:14:56 2008 +0200 (2008-09-23)
parents
children 03a799424aaa
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-gnutella"
4 VERSION="snapshot"
5 CATEGORY="internet"
6 SHORT_DESC="p2p client"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="gnutls libgcrypt libgpg-error"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gtk-gnutella.sourceforge.net"
11 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/gtk-gnutella/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./build.sh --prefix=/usr \
18 --disable-dbus \
19 --disable-ipv6 \
20 --disable-nls
21 make install INSTALL_PREFIX=$PWD/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 mkdir -p $fs/usr/share/applications
29 mkdir -p $fs/usr/share/pixmaps
30 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
31 cp -a $_pkg/usr/bin/* $fs/usr/bin
32 cp -a $_pkg/usr/share/applications/* $fs/usr/share/applications/
33 cp -a $_pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
35 strip -s $fs/usr/bin/*
36 }