wok annotate haserl-lua/receipt @ rev 11485
sagan-mysql: fix a typo in depends, add in pcre
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 18 03:02:00 2011 +0100 (2011-12-18) |
parents | b4a5b149897f |
children | 380ffe05937a |
rev | line source |
---|---|
milka@1134 | 1 # SliTaz package receipt. |
milka@1134 | 2 |
milka@1161 | 3 PACKAGE="haserl-lua" |
milka@1161 | 4 SOURCE="haserl" |
pascal@9156 | 5 VERSION="0.9.27" |
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="" |
pascal@1470 | 10 BUILD_DEPENDS="glibc-dev pkg-config lua lua-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 \ |
pascal@1470 | 24 $CONFIGURE_ARGS && |
pascal@1470 | 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@1161 | 35 } |