wok-current annotate alarm-clock/receipt @ rev 12063
alarm-clock: fix bdeps & url
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 09 01:49:07 2012 +0100 (2012-03-09) |
parents | 7df05207d343 |
children | f1f0f4bab8de |
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" |
gokhlayeh@12063 | 9 BUILD_DEPENDS="$DEPENDS gtk+-dev libunique-dev libnotify-dev gstreamer-dev \ |
gokhlayeh@12063 | 10 intltool" |
pascal@11216 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@12063 | 12 # There's no more website for it. Keep it anyway??? |
gokhlayeh@12063 | 13 #WEB_SITE="http://www.alarm-clock.pl/" |
gokhlayeh@12063 | 14 #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL" |
gokhlayeh@12063 | 15 WGET_URL="http://mirror.slitaz.org/sources/packages-cooking/a/$TARBALL" |
pascal@11216 | 16 |
pascal@11216 | 17 # Rules to configure and make the package. |
pascal@11216 | 18 compile_rules() |
pascal@11216 | 19 { |
pascal@11216 | 20 cd $src |
pascal@11216 | 21 chmod +x install-sh |
pascal@11216 | 22 ./configure && make && make install |
pascal@11216 | 23 } |
pascal@11216 | 24 |
pascal@11216 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11216 | 26 genpkg_rules() |
pascal@11216 | 27 { |
pascal@11216 | 28 mkdir -p $fs/usr/share |
pascal@11216 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@11216 | 30 cp -a $_pkg/usr/share/alarm-clock $fs/usr/share |
pascal@11216 | 31 cp -a $_pkg/usr/share/icons $fs/usr/share |
pascal@11216 | 32 } |