wok-6.x annotate gtk-gnutella/receipt @ rev 22898

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