wok view haserl-lua/receipt @ rev 10031
glibc: make it cross compilable
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 02:51:43 2011 +0200 (2011-05-20) |
parents | b4a5b149897f |
children | 380ffe05937a |
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 }