wok-current annotate gigolo/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | c92eb8bdf212 |
children |
rev | line source |
---|---|
pascal@13328 | 1 # SliTaz package receipt. |
pascal@13328 | 2 |
pascal@13328 | 3 PACKAGE="gigolo" |
Hans-G?nter@20967 | 4 VERSION="0.4.2" |
pascal@13328 | 5 CATEGORY="network" |
pascal@13328 | 6 SHORT_DESC="Frontend to manage connections to filesystems using GIO/GVfs." |
pascal@13328 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
pascal@20669 | 9 WEB_SITE="https://www.uvena.de/gigolo/" |
Hans-G?nter@20967 | 10 |
pascal@13328 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@20967 | 12 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@13328 | 13 |
pascal@13328 | 14 DEPENDS="gtk+" |
pascal@13328 | 15 BUILD_DEPENDS="gtk+-dev python-dev" |
pascal@13328 | 16 |
pascal@24415 | 17 # What is the latest version available today? |
pascal@24415 | 18 current_version() |
pascal@24415 | 19 { |
pascal@24415 | 20 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24415 | 21 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24415 | 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 23 } |
pascal@24415 | 24 |
pascal@13328 | 25 # Rules to configure and make the package. |
pascal@13328 | 26 compile_rules() |
pascal@13328 | 27 { |
Hans-G?nter@20967 | 28 ./configure --prefix=/usr && |
Hans-G?nter@20967 | 29 make -j 1 && |
Hans-G?nter@20967 | 30 make install DESTDIR=$DESTDIR |
pascal@13328 | 31 } |
pascal@13328 | 32 |
pascal@13328 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13328 | 34 genpkg_rules() |
pascal@13328 | 35 { |
pascal@13328 | 36 cp -a $install/usr $fs |
pascal@13328 | 37 } |