wok-6.x view beep/receipt @ rev 14504
get-bitcoin: get last version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 12 08:46:16 2013 +0200 (2013-05-12) |
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 }