wok-next view beep/receipt @ rev 9135
Fix bdep, ruby needs tk to compile (thanks godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Mar 06 05:56:39 2011 +0100 (2011-03-06) |
parents | da2298f20d8a |
children | 8d6f480bf664 |
line source
1 # SliTaz package receipt.
3 PACKAGE="beep"
4 VERSION="1.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Advanced pc-speaker beeper."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.johnath.com/beep/README"
10 WGET_URL="http://www.johnath.com/beep/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 make
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/bin
23 cp $src/beep $fs/usr/bin
24 }
26 # Overlap busybox
27 pre_install()
28 {
29 rm -f $1/usr/bin/beep
30 }
32 post_remove()
33 {
34 ln -s /bin/busybox /usr/bin/beep
35 }