wok-6.x view gtick/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | 83ab1229b305 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtick"
4 VERSION="0.5.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="GTick is a metronome application."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.antcom.de/gtick/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 SUGGESTED="gtick-lang"
15 DEPENDS="gtk+ libogg libsndfile libxml2 pulseaudio xorg-libXdamage"
16 BUILD_DEPENDS="apulse gtk+-dev libxml2-dev pkg-config pulseaudio-dev xorg-xproto"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s| rel.*||" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 }