wok annotate haserl/receipt @ rev 11824

uclibc-i486: add post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 26 21:45:45 2012 +0100 (2012-02-26)
parents b4a5b149897f
children 380ffe05937a
rev   line source
milka@1134 1 # SliTaz package receipt.
milka@1134 2
milka@1134 3 PACKAGE="haserl"
pascal@9156 4 VERSION="0.9.27"
milka@1134 5 CATEGORY="network"
milka@1134 6 SHORT_DESC="Small program that uses shell or Lua script to create cgi web scripts"
milka@1134 7 MAINTAINER="milka@konstelacioj.info"
milka@1134 8 DEPENDS=""
milka@1134 9 BUILD_DEPENDS="glibc-dev"
milka@1134 10 SUGGESTED="bash lua lua-dev"
milka@1134 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
milka@1134 12 WEB_SITE="http://haserl.sourceforge.net/"
milka@1134 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
milka@1134 14
milka@1134 15 # Rules to configure and make the package.
milka@1134 16 compile_rules()
milka@1134 17 {
milka@1134 18 cd $src
milka@1134 19 ./configure \
milka@1134 20 --bindir=/usr/bin \
milka@1134 21 $CONFIGURE_ARGS
milka@1134 22 make
milka@1134 23 make DESTDIR=$PWD/_pkg install
milka@1134 24 }
milka@1134 25
milka@1134 26 # Rules to gen a SliTaz package suitable for Tazpkg.
milka@1134 27 genpkg_rules()
milka@1134 28 {
milka@1134 29 mkdir -p $fs/usr
milka@1134 30 cp -a $_pkg/usr/bin $fs/usr
milka@1134 31 }