wok-current annotate haserl-lua/receipt @ rev 1314
php*admin: add apache support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 27 18:41:39 2008 +0000 (2008-08-27) |
parents | 30f642df947e |
children | 14320228765e |
rev | line source |
---|---|
milka@1134 | 1 # SliTaz package receipt. |
milka@1134 | 2 |
milka@1161 | 3 PACKAGE="haserl-lua" |
milka@1161 | 4 SOURCE="haserl" |
milka@1134 | 5 VERSION="0.9.24" |
milka@1134 | 6 CATEGORY="network" |
milka@1161 | 7 SHORT_DESC="Small program that uses shell or Lua script to create cgi web scripts" |
milka@1134 | 8 MAINTAINER="milka@konstelacioj.info" |
milka@1134 | 9 DEPENDS="" |
milka@1134 | 10 BUILD_DEPENDS="glibc-dev" |
milka@1134 | 11 SUGGESTED="bash lua lua-dev" |
milka@1161 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
milka@1134 | 13 WEB_SITE="http://haserl.sourceforge.net/" |
milka@1161 | 14 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
milka@1134 | 15 |
milka@1134 | 16 # Rules to configure and make the package. |
milka@1134 | 17 compile_rules() |
milka@1134 | 18 { |
milka@1134 | 19 cd $src |
milka@1134 | 20 ./configure \ |
milka@1134 | 21 --bindir=/usr/bin \ |
milka@1134 | 22 --with-lua \ |
milka@1161 | 23 --program-suffix=-lua \ |
milka@1134 | 24 $CONFIGURE_ARGS |
milka@1134 | 25 make |
milka@1134 | 26 make DESTDIR=$PWD/_pkg install |
milka@1134 | 27 } |
milka@1134 | 28 |
milka@1134 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1134 | 30 genpkg_rules() |
milka@1134 | 31 { |
milka@1134 | 32 mkdir -p $fs/usr |
milka@1134 | 33 cp -a $_pkg/usr/bin $fs/usr |
milka@1134 | 34 |
milka@1134 | 35 strip -s $fs/usr/bin/* |
milka@1161 | 36 } |