wok view beep/receipt @ rev 24586

updated gawk (5.0.1 -> 5.1.1)
author Hans-G?nter Theisgen
date Mon Feb 28 09:01:30 2022 +0100 (2022-02-28)
parents a5b865e166cd
children 82a123e54615
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 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
17 sed '/latest version/!d;s|.* is v||;s|,.*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make
25 cook_pick_manpages beep.1.gz
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/beep $fs/usr/bin
33 }
35 post_remove()
36 {
37 ln -s /bin/busybox "$1/usr/bin/beep"
38 }