wok-6.x view gtk-gnutella/receipt @ rev 23628
updated rust and rust-cargo (1.37.0 -> 1.42.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 10:33:21 2020 +0100 (2020-04-16) |
parents | b8ade74f0d9c |
children | 932cd974e081 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-gnutella"
4 VERSION="1.1.15"
5 CATEGORY="network"
6 SHORT_DESC="p2p client."
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/gtk-gnutella/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="expat gnutls gtk+ libgcrypt libgpg-error libtasn1 libxml2
15 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor
16 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes
17 xorg-libXinerama xorg-libXrandr xorg-libXrender"
18 BUILD_DEPENDS="glib-dev gtk+-dev libxml2-dev pkg-config xorg-dev
19 zlib-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./build.sh \
25 --prefix=/usr \
26 --disable-dbus \
27 --disable-nls &&
28 make $MAKEFLAGS install INSTALL_PREFIX=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 mkdir -p $fs/usr/share/applications
36 mkdir -p $fs/usr/share/pixmaps
37 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
39 cp -a $install/usr/bin/gtk-gnutella $fs/usr/bin/gtk-gnutella.bin
41 cat > $fs/usr/bin/gtk-gnutella <<EOT
42 #!/bin/sh
43 G_SLICE=always_malloc /usr/bin/gtk-gnutella.bin
44 EOT
45 chmod 755 $fs/usr/bin/gtk-gnutella
47 cp -a $install/usr/share/applications/* $fs/usr/share/applications
48 cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
49 cp -a $install/usr/share/gtk-gnutella/pixmaps/* \
50 $fs/usr/share/gtk-gnutella/pixmaps
51 }