wok-stable annotate haserl/receipt @ rev 3032

alsa-utils: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 12 10:36:46 2009 +0200 (2009-05-12)
parents
children b4a5b149897f
rev   line source
milka@1134 1 # SliTaz package receipt.
milka@1134 2
milka@1134 3 PACKAGE="haserl"
milka@1134 4 VERSION="0.9.24"
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
milka@1134 32 strip -s $fs/usr/bin/*
milka@1134 33 }