wok annotate beep/receipt @ rev 17974

scilab: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 18 00:25:23 2015 +0200 (2015-04-18)
parents a63c2567749b
children fca172c323cf
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"
pascal@2144 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2144 10 WEB_SITE="http://www.johnath.com/beep/README"
pascal@2144 11 WGET_URL="http://www.johnath.com/beep/$TARBALL"
pascal@2144 12
pascal@2144 13 # Rules to configure and make the package.
pascal@2144 14 compile_rules()
pascal@2144 15 {
pascal@2144 16 cd $src
pascal@2144 17 make
pascal@2144 18 }
pascal@2144 19
pascal@2144 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2144 21 genpkg_rules()
pascal@2144 22 {
pascal@2144 23 mkdir -p $fs/usr/bin
pascal@2144 24 cp $src/beep $fs/usr/bin
pascal@2144 25 }
pascal@2144 26
pascal@8880 27 # Overlap busybox
pascal@8880 28 pre_install()
pascal@8880 29 {
pascal@8880 30 rm -f $1/usr/bin/beep
pascal@8880 31 }
pascal@8880 32
pascal@8880 33 post_remove()
pascal@8880 34 {
pascal@8880 35 ln -s /bin/busybox /usr/bin/beep
pascal@8880 36 }