wok-undigest annotate alarm-clock/receipt @ rev 343

brasero: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 15 16:18:23 2011 +0200 (2011-06-15)
parents
children
rev   line source
pankso@223 1 # SliTaz package receipt.
pankso@223 2
pankso@223 3 PACKAGE="alarm-clock"
pankso@223 4 VERSION="1.4.3"
pankso@223 5 CATEGORY="utilities"
pankso@223 6 SHORT_DESC="Simple GTK alarm clock"
pankso@223 7 MAINTAINER="pankso@slitaz.org"
pankso@223 8 DEPENDS="gtk+ libunique libnotify gstreamer"
pankso@223 9 BUILD_DEPENDS="$DEPENDS gtk+-dev libunique-dev libnotify-dev gstreamer-dev"
pankso@223 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@223 11 WEB_SITE="http://www.alarm-clock.pl/"
pankso@223 12 WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
pankso@223 13
pankso@223 14 # Rules to configure and make the package.
pankso@223 15 compile_rules()
pankso@223 16 {
pankso@223 17 cd $src
pankso@223 18 chmod +x install-sh
pankso@223 19 ./configure && make && make install
pankso@223 20 }
pankso@223 21
pankso@223 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@223 23 genpkg_rules()
pankso@223 24 {
pankso@223 25 mkdir -p $fs/usr/share
pankso@223 26 cp -a $_pkg/usr/bin $fs/usr
pankso@223 27 cp -a $_pkg/usr/share/alarm-clock $fs/usr/share
pankso@223 28 cp -a $_pkg/usr/share/icons $fs/usr/share
pankso@223 29 }