wok-stable annotate haserl-lua/receipt @ rev 9156

Up haserl (0.9.27)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 07 15:24:51 2011 +0100 (2011-03-07)
parents 14320228765e
children 02bbaa9d12ba
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@1134 35 strip -s $fs/usr/bin/*
milka@1161 36 }