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