wok annotate gtick/receipt @ rev 24454
gnustep-back: added dependency icu
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 07:53:02 2022 +0100 (2022-02-16) |
parents | 736fd3dc85ec |
children | 83ab1229b305 |
rev | line source |
---|---|
pankso@628 | 1 # SliTaz package receipt. |
pankso@628 | 2 |
pankso@628 | 3 PACKAGE="gtick" |
Hans-G?nter@21009 | 4 VERSION="0.5.4" |
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@21009 | 9 WEB_SITE="http://www.antcom.de/gtick/" |
Hans-G?nter@21009 | 10 |
pankso@628 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15589 | 12 WGET_URL="http://www.antcom.de/gtick/download/$TARBALL" |
pascal@15589 | 13 |
pascal@5001 | 14 DEPENDS="gtk+ xorg-libXdamage libsndfile libogg" |
Hans-G?nter@21009 | 15 BUILD_DEPENDS="gtk+-dev pkg-config pulseaudio-dev xorg-xproto" |
pankso@628 | 16 |
pascal@24445 | 17 # What is the latest version available today? |
pascal@24445 | 18 current_version() |
pascal@24445 | 19 { |
pascal@24445 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24445 | 21 sed "/$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s| rel.*||" | sort -Vr | sed q |
pascal@24445 | 22 } |
pascal@24445 | 23 |
pankso@628 | 24 # Rules to configure and make the package. |
pankso@628 | 25 compile_rules() |
pankso@628 | 26 { |
Hans-G?nter@21009 | 27 ./configure \ |
Hans-G?nter@21009 | 28 --prefix=/usr \ |
Hans-G?nter@21009 | 29 --mandir=/usr/share/man \ |
pascal@1460 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21009 | 31 make -j 1 && |
pascal@15589 | 32 make DESTDIR=$DESTDIR install |
pankso@628 | 33 } |
pankso@628 | 34 |
pankso@628 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@628 | 36 genpkg_rules() |
pankso@628 | 37 { |
pankso@628 | 38 mkdir -p $fs/usr/share |
Hans-G?nter@21009 | 39 |
pascal@15589 | 40 cp -a $install/usr/bin $fs/usr |
pankso@628 | 41 } |