wok-6.x annotate haserl-lua/receipt @ rev 1134
Added bozohttpd, haserl, haserl-lua and o3read receipts
author | Micha?l Dupont <milka@konstelacioj.info> |
---|---|
date | Thu Jul 24 01:01:10 2008 +0200 (2008-07-24) |
parents | |
children | 97a2a9038ef9 |
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 --with-lua \ |
milka@1134 | 22 $CONFIGURE_ARGS |
milka@1134 | 23 make |
milka@1134 | 24 make DESTDIR=$PWD/_pkg install |
milka@1134 | 25 } |
milka@1134 | 26 |
milka@1134 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1134 | 28 genpkg_rules() |
milka@1134 | 29 { |
milka@1134 | 30 mkdir -p $fs/usr |
milka@1134 | 31 cp -a $_pkg/usr/bin $fs/usr |
milka@1134 | 32 |
milka@1134 | 33 strip -s $fs/usr/bin/* |
milka@1134 | 34 } |