wok-next view gtk-gnutella/receipt @ rev 18203

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