wok annotate haserl-lua/receipt @ rev 8025

up: xfconf* (4.8.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 20 02:17:43 2011 +0100 (2011-01-20)
parents 97a2a9038ef9
children b4a5b149897f
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=""
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 }