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

updated libarchive and libarchive-dev (3.4.2 -> 3.6.0)
author Hans-G?nter Theisgen
date Tue Mar 15 07:41:02 2022 +0100 (2022-03-15)
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 }