wok-current annotate haserl-lua/receipt @ rev 17025
libmtp: drop Zune support; mtpfs, usbids: tiny edits
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 15 00:06:08 2014 +0000 (2014-08-15) |
parents | 02bbaa9d12ba |
children | f7f1e45f4243 |
rev | line source |
---|---|
milka@1134 | 1 # SliTaz package receipt. |
milka@1134 | 2 |
milka@1161 | 3 PACKAGE="haserl-lua" |
milka@1161 | 4 SOURCE="haserl" |
pascal@9156 | 5 VERSION="0.9.27" |
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" |
pascal@15000 | 9 LICENSE="GPL2" |
milka@1134 | 10 SUGGESTED="bash lua lua-dev" |
milka@1161 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
milka@1134 | 12 WEB_SITE="http://haserl.sourceforge.net/" |
milka@1161 | 13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
milka@1134 | 14 |
pascal@15000 | 15 DEPENDS="" |
pascal@15000 | 16 BUILD_DEPENDS="glibc-dev pkg-config lua lua-dev" |
pascal@15000 | 17 |
milka@1134 | 18 # Rules to configure and make the package. |
milka@1134 | 19 compile_rules() |
milka@1134 | 20 { |
milka@1134 | 21 cd $src |
milka@1134 | 22 ./configure \ |
milka@1134 | 23 --bindir=/usr/bin \ |
milka@1134 | 24 --with-lua \ |
milka@1161 | 25 --program-suffix=-lua \ |
pascal@1470 | 26 $CONFIGURE_ARGS && |
pascal@1470 | 27 make && |
pascal@15000 | 28 make DESTDIR=$DESTDIR install |
milka@1134 | 29 } |
milka@1134 | 30 |
milka@1134 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1134 | 32 genpkg_rules() |
milka@1134 | 33 { |
milka@1134 | 34 mkdir -p $fs/usr |
pascal@15000 | 35 cp -a $install/usr/bin $fs/usr |
milka@1134 | 36 |
milka@1161 | 37 } |