wok-6.x view beep/receipt @ rev 24066

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 05 15:00:07 2021 +0000 (2021-07-05)
parents fca172c323cf
children 9af0e03b8ad0
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 WEB_SITE="http://www.johnath.com/beep/README"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www.johnath.com/beep/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 make
18 cook_pick_manpages beep.1.gz
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin
25 cp -a $src/beep $fs/usr/bin
26 }
28 post_remove()
29 {
30 ln -s /bin/busybox "$1/usr/bin/beep"
31 }