wok view haserl/receipt @ rev 5012

rm rpm in for loop to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:50:05 2010 +0000 (2010-02-28)
parents
children b4a5b149897f
line source
1 # SliTaz package receipt.
3 PACKAGE="haserl"
4 VERSION="0.9.24"
5 CATEGORY="network"
6 SHORT_DESC="Small program that uses shell or Lua script to create cgi web scripts"
7 MAINTAINER="milka@konstelacioj.info"
8 DEPENDS=""
9 BUILD_DEPENDS="glibc-dev"
10 SUGGESTED="bash lua lua-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://haserl.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --bindir=/usr/bin \
21 $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
32 strip -s $fs/usr/bin/*
33 }