wok annotate beep/receipt @ rev 11140
Up: wxWidgets to 2.8.12.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 26 21:04:08 2011 +0000 (2011-10-26) |
parents | da2298f20d8a |
children | 8d6f480bf664 |
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@2144 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2144 | 9 WEB_SITE="http://www.johnath.com/beep/README" |
pascal@2144 | 10 WGET_URL="http://www.johnath.com/beep/$TARBALL" |
pascal@2144 | 11 |
pascal@2144 | 12 # Rules to configure and make the package. |
pascal@2144 | 13 compile_rules() |
pascal@2144 | 14 { |
pascal@2144 | 15 cd $src |
pascal@2144 | 16 make |
pascal@2144 | 17 } |
pascal@2144 | 18 |
pascal@2144 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2144 | 20 genpkg_rules() |
pascal@2144 | 21 { |
pascal@2144 | 22 mkdir -p $fs/usr/bin |
pascal@2144 | 23 cp $src/beep $fs/usr/bin |
pascal@2144 | 24 } |
pascal@2144 | 25 |
pascal@8880 | 26 # Overlap busybox |
pascal@8880 | 27 pre_install() |
pascal@8880 | 28 { |
pascal@8880 | 29 rm -f $1/usr/bin/beep |
pascal@8880 | 30 } |
pascal@8880 | 31 |
pascal@8880 | 32 post_remove() |
pascal@8880 | 33 { |
pascal@8880 | 34 ln -s /bin/busybox /usr/bin/beep |
pascal@8880 | 35 } |