wok annotate beep/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents a5b865e166cd
children 82a123e54615
rev   line source
pascal@2144 1 # SliTaz package receipt.
pascal@2144 2
pascal@2144 3 PACKAGE="beep"
slaxemulator@6530 4 VERSION="1.3"
pascal@2144 5 CATEGORY="system-tools"
pascal@2144 6 SHORT_DESC="Advanced pc-speaker beeper."
pascal@2144 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15482 8 LICENSE="GPL2"
al@19278 9 WEB_SITE="http://www.johnath.com/beep/README"
pascal@2144 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2144 11 WGET_URL="http://www.johnath.com/beep/$TARBALL"
pascal@2144 12
pascal@24373 13 # What is the latest version available today?
pascal@24373 14 current_version()
pascal@24373 15 {
pascal@24373 16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24373 17 sed '/latest version/!d;s|.* is v||;s|,.*||;q'
pascal@24373 18 }
pascal@24373 19
pascal@2144 20 # Rules to configure and make the package.
pascal@2144 21 compile_rules()
pascal@2144 22 {
pascal@2144 23 make
al@19278 24
al@19278 25 cook_pick_manpages beep.1.gz
pascal@2144 26 }
pascal@2144 27
pascal@2144 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2144 29 genpkg_rules()
pascal@2144 30 {
pascal@2144 31 mkdir -p $fs/usr/bin
al@19278 32 cp -a $src/beep $fs/usr/bin
pascal@2144 33 }
pascal@2144 34
pascal@8880 35 post_remove()
pascal@8880 36 {
al@18668 37 ln -s /bin/busybox "$1/usr/bin/beep"
pascal@8880 38 }