wok annotate gtk-gnutella/receipt @ rev 24731
updated libdvdread and libdvdread-dev (6.0.2 -> 6.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 17:30:53 2022 +0100 (2022-03-15) |
parents | 070e14e0705d |
children | 6e5c8ce7fb15 |
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 |
pascal@24403 | 21 # What is the latest version available today? |
pascal@24403 | 22 current_version() |
pascal@24403 | 23 { |
pascal@24403 | 24 wget -O - https://sourceforge.net/projects/gtk-gnutella/files/gtk-gnutella/ 2>/dev/null | \ |
pascal@24403 | 25 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24403 | 26 sed '/scope="row/!d;s|.*/gtk-gnutella/||;s|/.*||;q' |
pascal@24403 | 27 } |
pascal@24403 | 28 |
allan316@1365 | 29 # Rules to configure and make the package. |
allan316@1365 | 30 compile_rules() |
allan316@1365 | 31 { |
Hans-G?nter@22898 | 32 ./build.sh \ |
Hans-G?nter@22898 | 33 --prefix=/usr \ |
Hans-G?nter@22898 | 34 --disable-dbus \ |
Hans-G?nter@22898 | 35 --disable-nls && |
pascal@15215 | 36 make $MAKEFLAGS install INSTALL_PREFIX=$DESTDIR |
allan316@1365 | 37 } |
allan316@1365 | 38 |
allan316@1365 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1365 | 40 genpkg_rules() |
allan316@1365 | 41 { |
allan316@1365 | 42 mkdir -p $fs/usr/bin |
allan316@1365 | 43 mkdir -p $fs/usr/share/applications |
allan316@1365 | 44 mkdir -p $fs/usr/share/pixmaps |
allan316@1365 | 45 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps |
Hans-G?nter@22898 | 46 |
Hans-G?nter@22898 | 47 cp -a $install/usr/bin/gtk-gnutella $fs/usr/bin/gtk-gnutella.bin |
Hans-G?nter@22898 | 48 |
pascal@22818 | 49 cat > $fs/usr/bin/gtk-gnutella <<EOT |
pascal@22818 | 50 #!/bin/sh |
pascal@22818 | 51 G_SLICE=always_malloc /usr/bin/gtk-gnutella.bin |
pascal@22818 | 52 EOT |
pascal@22818 | 53 chmod 755 $fs/usr/bin/gtk-gnutella |
Hans-G?nter@22898 | 54 |
Hans-G?nter@22898 | 55 cp -a $install/usr/share/applications/* $fs/usr/share/applications |
Hans-G?nter@22898 | 56 cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps |
Hans-G?nter@22898 | 57 cp -a $install/usr/share/gtk-gnutella/pixmaps/* \ |
Hans-G?nter@22898 | 58 $fs/usr/share/gtk-gnutella/pixmaps |
allan316@1365 | 59 } |