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