wok-current view beep/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | a5b865e166cd |
children |
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 }