wok-6.x view gtick/receipt @ rev 24525
Up libav (0.6.6 -> 12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 22 16:15:28 2022 +0000 (2022-02-22) |
parents | 736fd3dc85ec |
children | 83ab1229b305 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtick"
4 VERSION="0.5.4"
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="http://www.antcom.de/gtick/download/$TARBALL"
14 DEPENDS="gtk+ xorg-libXdamage libsndfile libogg"
15 BUILD_DEPENDS="gtk+-dev pkg-config pulseaudio-dev xorg-xproto"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s| rel.*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 }