wok annotate gtk-gnutella/receipt @ rev 16501

Up: tinycm (1.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 02:32:31 2014 +0200 (2014-04-24)
parents f7322e87a0d8
children b8ade74f0d9c
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"
pascal@15215 8 LICENSE="GPL2"
pascal@15215 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15215 10 WEB_SITE="http://gtk-gnutella.sourceforge.net"
pascal@15215 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15215 12
pankso@3429 13 DEPENDS="gnutls libgcrypt libgpg-error expat gtk+ libxml2 \
pascal@2483 14 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp \
pascal@2516 15 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
pascal@5029 16 xorg-libXdamage libtasn1"
paul@9548 17 BUILD_DEPENDS="zlib-dev gtk+-dev pkg-config libxml2-dev glib-dev xorg-dev"
allan316@1365 18
allan316@1365 19 # Rules to configure and make the package.
allan316@1365 20 compile_rules()
allan316@1365 21 {
allan316@1365 22 cd $src
allan316@1365 23 ./build.sh --prefix=/usr \
allan316@1365 24 --disable-dbus \
pascal@1594 25 --disable-nls &&
pascal@15215 26 make $MAKEFLAGS install INSTALL_PREFIX=$DESTDIR
allan316@1365 27 }
allan316@1365 28
allan316@1365 29 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@1365 30 genpkg_rules()
allan316@1365 31 {
allan316@1365 32 mkdir -p $fs/usr/bin
allan316@1365 33 mkdir -p $fs/usr/share/applications
allan316@1365 34 mkdir -p $fs/usr/share/pixmaps
allan316@1365 35 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
pascal@15215 36 cp -a $install/usr/bin/* $fs/usr/bin
pascal@15215 37 cp -a $install/usr/share/applications/* $fs/usr/share/applications/
pascal@15215 38 cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
pascal@15215 39 cp -a $install/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
allan316@1365 40 }
allan316@1365 41