wok-next view gtk-gnutella/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | d43bf7aae921 |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-gnutella"
4 VERSION="1.1.13"
5 CATEGORY="network"
6 SHORT_DESC="p2p client"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://gtk-gnutella.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gnutls libgcrypt libgpg-error expat gtk2 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 gtk2-dev libxml2-dev glib-dev xorg-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./build.sh --prefix=/usr \
23 --disable-dbus \
24 --disable-nls &&
25 make $MAKEFLAGS install INSTALL_PREFIX=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 mkdir -p $fs/usr/share/applications
33 mkdir -p $fs/usr/share/pixmaps
34 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
35 cp -a $install/usr/bin/* $fs/usr/bin
36 cp -a $install/usr/share/applications/* $fs/usr/share/applications/
37 cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
38 cp -a $install/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
39 }