wok annotate beep/receipt @ rev 11912
Add perl-test-nowarnings.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Feb 29 16:24:03 2012 -0500 (2012-02-29) |
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 } |