wok-4.x rev 1365

Add gtk-gnutella
author Allan Pinto <allan316@gmail.com>
date Thu Sep 11 15:43:56 2008 +0000 (2008-09-11)
parents 188634c3c33f
children f5998b918baf
files gtk-gnutella/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gtk-gnutella/receipt	Thu Sep 11 15:43:56 2008 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gtk-gnutella"
     1.7 +VERSION="snapshot"
     1.8 +CATEGORY="internet"
     1.9 +SHORT_DESC="p2p client"
    1.10 +MAINTAINER="allan316@gmail.com"
    1.11 +DEPENDS="gnutls libgcrypt libgpg-error"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://gtk-gnutella.sourceforge.net"
    1.14 +WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/gtk-gnutella/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./build.sh --prefix=/usr \
    1.21 +	--disable-dbus \
    1.22 +	--disable-ipv6 \
    1.23 +	--disable-nls 
    1.24 +	make install INSTALL_PREFIX=$PWD/_pkg
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin
    1.31 +	mkdir -p $fs/usr/share/applications
    1.32 +	mkdir -p $fs/usr/share/pixmaps
    1.33 +	mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
    1.34 +	cp -a $_pkg/usr/bin/* $fs/usr/bin
    1.35 +	cp -a $_pkg/usr/share/applications/* $fs/usr/share/applications/
    1.36 +	cp -a $_pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps
    1.37 +	cp -a $_pkg/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
    1.38 +	strip -s $fs/usr/bin/*
    1.39 +}
    1.40 +