wok-6.x annotate haserl/receipt @ rev 24525
Up libav (0.6.6 -> 12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 22 16:15:28 2022 +0000 (2022-02-22) |
parents | f7f1e45f4243 |
children | 47142d560d01 |
rev | line source |
---|---|
milka@1134 | 1 # SliTaz package receipt. |
milka@1134 | 2 |
milka@1134 | 3 PACKAGE="haserl" |
Hans-G?nter@21027 | 4 VERSION="0.9.35" |
milka@1134 | 5 CATEGORY="network" |
Hans-G?nter@21027 | 6 SHORT_DESC="Small program that uses shell or Lua script to create cgi web scripts." |
milka@1134 | 7 MAINTAINER="milka@konstelacioj.info" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@21027 | 9 WEB_SITE="http://haserl.sourceforge.net/" |
Hans-G?nter@21027 | 10 |
milka@1134 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
milka@1134 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
milka@1134 | 13 |
pascal@15000 | 14 DEPENDS="" |
pascal@15000 | 15 BUILD_DEPENDS="glibc-dev" |
Hans-G?nter@21027 | 16 SUGGESTED="bash lua lua-dev" |
pascal@15000 | 17 |
pascal@24412 | 18 # What is the latest version available today? |
pascal@24412 | 19 current_version() |
pascal@24412 | 20 { |
pascal@24412 | 21 wget -O - https://sourceforge.net/projects/haserl/files/haserl-devel/ 2>/dev/null | \ |
pascal@24412 | 22 sed '/scope="row/!d;/tar/!d;s|.*/haserl-||;s|.tar.*||;q' |
pascal@24412 | 23 } |
pascal@24412 | 24 |
milka@1134 | 25 # Rules to configure and make the package. |
milka@1134 | 26 compile_rules() |
milka@1134 | 27 { |
Hans-G?nter@21027 | 28 ./configure \ |
Hans-G?nter@21027 | 29 --bindir=/usr/bin \ |
Hans-G?nter@21027 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21027 | 31 make -j 1 && |
pascal@15000 | 32 make DESTDIR=$DESTDIR install |
milka@1134 | 33 } |
milka@1134 | 34 |
milka@1134 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1134 | 36 genpkg_rules() |
milka@1134 | 37 { |
milka@1134 | 38 mkdir -p $fs/usr |
pascal@15000 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21027 | 40 } |