wok-4.x view gtk-gnutella/receipt @ rev 5906
Up libiec61883-dev (1.2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 26 13:40:17 2010 +0200 (2010-07-26) |
parents | 5870b9a92261 |
children | 02bbaa9d12ba |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-gnutella"
4 VERSION="0.96.8"
5 CATEGORY="network"
6 SHORT_DESC="p2p client"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="gnutls libgcrypt libgpg-error expat gtk+ libxml2 \
9 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp \
10 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
11 xorg-libXdamage libtasn1"
12 BUILD_DEPENDS="zlib-dev gtk+-dev gtk+ libxml2-dev glib-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://gtk-gnutella.sourceforge.net"
15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./build.sh --prefix=/usr \
22 --disable-dbus \
23 --disable-ipv6 \
24 --disable-nls &&
25 make -j 4 install INSTALL_PREFIX=$PWD/_pkg
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 mkdir -p $fs/usr/share/applications
33 mkdir -p $fs/usr/share/pixmaps
34 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
35 cp -a $_pkg/usr/bin/* $fs/usr/bin
36 cp -a $_pkg/usr/share/applications/* $fs/usr/share/applications/
37 cp -a $_pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps
38 cp -a $_pkg/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
39 strip -s $fs/usr/bin/*
40 }