wok view beep/receipt @ rev 10967

fcitx: up BUILD_DEPEND
author Liu Peng <hipeng@yahoo.com>
date Sun Oct 09 08:38:43 2011 +0800 (2011-10-09)
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 }