wok-current annotate gtick/receipt @ rev 2271
vacation: add BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 18 11:41:03 2009 +0000 (2009-02-18) |
parents | d7cac689bd5f |
children | 8b79c3ee7ac2 |
rev | line source |
---|---|
pankso@628 | 1 # SliTaz package receipt. |
pankso@628 | 2 |
pankso@628 | 3 PACKAGE="gtick" |
pankso@865 | 4 VERSION="0.4.2" |
pankso@628 | 5 CATEGORY="multimedia" |
pankso@628 | 6 SHORT_DESC="GTick is a metronome application." |
pankso@628 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@628 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1460 | 9 DEPENDS="gtk+" |
pascal@1460 | 10 BUILD_DEPENDS="pkg-config gtk+-dev xorg-xproto" |
pankso@628 | 11 WEB_SITE="http://www.antcom.de/gtick/" |
pankso@628 | 12 WGET_URL="http://www.antcom.de/gtick/download/$TARBALL" |
pankso@628 | 13 |
pankso@628 | 14 # Rules to configure and make the package. |
pankso@628 | 15 compile_rules() |
pankso@628 | 16 { |
pankso@628 | 17 cd $src |
pankso@628 | 18 ./configure \ |
pankso@628 | 19 --prefix=/usr \ |
pankso@628 | 20 --mandir=/usr/share/man \ |
pascal@1460 | 21 $CONFIGURE_ARGS && |
pascal@1460 | 22 make && |
pankso@628 | 23 make DESTDIR=$PWD/_pkg install |
pankso@628 | 24 } |
pankso@628 | 25 |
pankso@628 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@628 | 27 genpkg_rules() |
pankso@628 | 28 { |
pankso@628 | 29 mkdir -p $fs/usr/share |
pankso@628 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@628 | 31 } |