wok-stable annotate gtk-gnutella/receipt @ rev 1423
Fix CATEGORY in receipts
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 26 09:21:16 2008 +0000 (2008-09-26) |
parents | a4f201472ebe |
children | f08ead2d5191 |
rev | line source |
---|---|
allan316@1365 | 1 # SliTaz package receipt. |
allan316@1365 | 2 |
allan316@1365 | 3 PACKAGE="gtk-gnutella" |
allan316@1365 | 4 VERSION="snapshot" |
pascal@1423 | 5 CATEGORY="network" |
allan316@1365 | 6 SHORT_DESC="p2p client" |
allan316@1365 | 7 MAINTAINER="allan316@gmail.com" |
allan316@1365 | 8 DEPENDS="gnutls libgcrypt libgpg-error" |
allan316@1365 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@1365 | 10 WEB_SITE="http://gtk-gnutella.sourceforge.net" |
allan316@1365 | 11 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/gtk-gnutella/$TARBALL" |
allan316@1365 | 12 |
allan316@1365 | 13 # Rules to configure and make the package. |
allan316@1365 | 14 compile_rules() |
allan316@1365 | 15 { |
allan316@1365 | 16 cd $src |
allan316@1365 | 17 ./build.sh --prefix=/usr \ |
allan316@1365 | 18 --disable-dbus \ |
allan316@1365 | 19 --disable-ipv6 \ |
allan316@1365 | 20 --disable-nls |
allan316@1365 | 21 make install INSTALL_PREFIX=$PWD/_pkg |
allan316@1365 | 22 } |
allan316@1365 | 23 |
allan316@1365 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1365 | 25 genpkg_rules() |
allan316@1365 | 26 { |
allan316@1365 | 27 mkdir -p $fs/usr/bin |
allan316@1365 | 28 mkdir -p $fs/usr/share/applications |
allan316@1365 | 29 mkdir -p $fs/usr/share/pixmaps |
allan316@1365 | 30 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps |
allan316@1365 | 31 cp -a $_pkg/usr/bin/* $fs/usr/bin |
allan316@1365 | 32 cp -a $_pkg/usr/share/applications/* $fs/usr/share/applications/ |
allan316@1365 | 33 cp -a $_pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps |
allan316@1365 | 34 cp -a $_pkg/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/ |
allan316@1365 | 35 strip -s $fs/usr/bin/* |
allan316@1365 | 36 } |
allan316@1365 | 37 |