# SliTaz package receipt.

PACKAGE="gtick"
VERSION="0.4.2"
CATEGORY="multimedia"
SHORT_DESC="GTick is a metronome application."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
DEPENDS="gtk+ xorg-libXdamage libsndfile libogg"
BUILD_DEPENDS="pkg-config gtk+-dev xorg-xproto"
WEB_SITE="http://www.antcom.de/gtick/"
WGET_URL="http://www.antcom.de/gtick/download/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/share
	cp -a $_pkg/usr/bin $fs/usr
}