wok annotate gtk-gnutella/receipt @ rev 15090
pinentry: add bdeps...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 21:20:52 2013 +0000 (2013-08-13) |
parents | e8577dc45f44 |
children | 7bb096863642 |
rev | line source |
---|---|
allan316@1365 | 1 # SliTaz package receipt. |
allan316@1365 | 2 |
allan316@1365 | 3 PACKAGE="gtk-gnutella" |
pascal@12627 | 4 VERSION="0.98.2" |
pascal@1423 | 5 CATEGORY="network" |
allan316@1365 | 6 SHORT_DESC="p2p client" |
allan316@1365 | 7 MAINTAINER="allan316@gmail.com" |
pankso@3429 | 8 DEPENDS="gnutls libgcrypt libgpg-error expat gtk+ libxml2 \ |
pascal@2483 | 9 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp \ |
pascal@2516 | 10 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \ |
pascal@5029 | 11 xorg-libXdamage libtasn1" |
paul@9548 | 12 BUILD_DEPENDS="zlib-dev gtk+-dev pkg-config libxml2-dev glib-dev xorg-dev" |
allan316@1365 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@1365 | 14 WEB_SITE="http://gtk-gnutella.sourceforge.net" |
pascal@1594 | 15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
allan316@1365 | 16 |
allan316@1365 | 17 # Rules to configure and make the package. |
allan316@1365 | 18 compile_rules() |
allan316@1365 | 19 { |
allan316@1365 | 20 cd $src |
allan316@1365 | 21 ./build.sh --prefix=/usr \ |
allan316@1365 | 22 --disable-dbus \ |
pascal@1594 | 23 --disable-nls && |
gokhlayeh@11574 | 24 make $MAKEFLAGS install INSTALL_PREFIX=$PWD/_pkg |
allan316@1365 | 25 } |
allan316@1365 | 26 |
allan316@1365 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1365 | 28 genpkg_rules() |
allan316@1365 | 29 { |
allan316@1365 | 30 mkdir -p $fs/usr/bin |
allan316@1365 | 31 mkdir -p $fs/usr/share/applications |
allan316@1365 | 32 mkdir -p $fs/usr/share/pixmaps |
allan316@1365 | 33 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps |
allan316@1365 | 34 cp -a $_pkg/usr/bin/* $fs/usr/bin |
allan316@1365 | 35 cp -a $_pkg/usr/share/applications/* $fs/usr/share/applications/ |
allan316@1365 | 36 cp -a $_pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps |
allan316@1365 | 37 cp -a $_pkg/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/ |
allan316@1365 | 38 } |
allan316@1365 | 39 |