wok diff alarm-clock/receipt @ rev 11845

vanessa_adt: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 08:26:19 2012 +0100 (2012-02-27)
parents
children e63505ffeafa
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/alarm-clock/receipt	Mon Feb 27 08:26:19 2012 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="alarm-clock"
     1.7 +VERSION="1.4.3"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Simple GTK alarm clock"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gtk+ libunique libnotify gstreamer"
    1.12 +BUILD_DEPENDS="$DEPENDS gtk+-dev libunique-dev libnotify-dev gstreamer-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.alarm-clock.pl/"
    1.15 +WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	chmod +x install-sh
    1.22 +	./configure && make && make install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/share
    1.29 +	cp -a $_pkg/usr/bin $fs/usr
    1.30 +	cp -a $_pkg/usr/share/alarm-clock $fs/usr/share
    1.31 +	cp -a $_pkg/usr/share/icons $fs/usr/share
    1.32 +}