wok-next view beep/receipt @ rev 18642

Up tazpkg(878)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 30 02:28:21 2015 +0200 (2015-11-30)
parents a63c2567749b
children fca172c323cf
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.johnath.com/beep/README"
11 WGET_URL="http://www.johnath.com/beep/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin
24 cp $src/beep $fs/usr/bin
25 }
27 # Overlap busybox
28 pre_install()
29 {
30 rm -f $1/usr/bin/beep
31 }
33 post_remove()
34 {
35 ln -s /bin/busybox /usr/bin/beep
36 }