wok view gigolo/receipt @ rev 25509
sgmixer: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 13:14:45 2023 +0000 (21 months ago) |
parents | c92eb8bdf212 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gigolo"
4 VERSION="0.4.2"
5 CATEGORY="network"
6 SHORT_DESC="Frontend to manage connections to filesystems using GIO/GVfs."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.uvena.de/gigolo/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
21 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure --prefix=/usr &&
29 make -j 1 &&
30 make install DESTDIR=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }