wok-stable view haserl-lua/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents b4a5b149897f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="haserl-lua"
4 SOURCE="haserl"
5 VERSION="0.9.27"
6 CATEGORY="network"
7 SHORT_DESC="Small program that uses shell or Lua script to create cgi web scripts"
8 MAINTAINER="milka@konstelacioj.info"
9 DEPENDS=""
10 BUILD_DEPENDS="glibc-dev pkg-config lua lua-dev"
11 SUGGESTED="bash lua lua-dev"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://haserl.sourceforge.net/"
14 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --bindir=/usr/bin \
22 --with-lua \
23 --program-suffix=-lua \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
35 }