wok-next view haserl-lua/receipt @ rev 15168
nethack: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 23:11:23 2013 +0000 (2013-08-15) |
parents | 02bbaa9d12ba |
children | d43bf7aae921 |
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 LICENSE="GPL2"
10 SUGGESTED="bash lua lua-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://haserl.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
15 DEPENDS=""
16 BUILD_DEPENDS="glibc-dev pkg-config lua lua-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --bindir=/usr/bin \
24 --with-lua \
25 --program-suffix=-lua \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
37 }