wok annotate tinycm/receipt @ rev 25800
Up xcursor-aero (20240910)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 28 13:19:05 2024 +0000 (4 weeks ago) |
parents | 2d70b04a7ddd |
children |
rev | line source |
---|---|
pankso@15774 | 1 # SliTaz package receipt. |
pankso@15774 | 2 |
pankso@15774 | 3 PACKAGE="tinycm" |
pankso@19680 | 4 VERSION="1.3" |
pankso@15774 | 5 CATEGORY="network" |
pankso@15774 | 6 SHORT_DESC="Small and elegent CGI content manager." |
pankso@15774 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15774 | 8 LICENSE="BSD" |
pankso@15774 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@15774 | 10 WEB_SITE="http://www.slitaz.org/" |
pankso@15774 | 11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz" |
pankso@16346 | 12 HOST_ARCH="i486 arm" |
pankso@15774 | 13 |
pascal@24070 | 14 current_version() |
pascal@24070 | 15 { |
pascal@24070 | 16 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ |
pascal@24070 | 17 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ |
pascal@24070 | 18 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' |
pascal@24070 | 19 } |
pascal@24070 | 20 |
pankso@15774 | 21 # Rules to configure and make the package. |
pankso@15774 | 22 compile_rules() |
pankso@15774 | 23 { |
pankso@15774 | 24 make && make DESTDIR=$install install |
pankso@19684 | 25 make DESTDIR=$install install-slitaz |
pankso@15774 | 26 } |
pankso@15774 | 27 |
pankso@15774 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15774 | 29 genpkg_rules() |
pankso@15774 | 30 { |
pankso@15774 | 31 mkdir -p $fs |
pankso@15774 | 32 cp -a $install/* $fs |
pankso@15774 | 33 cd $fs/var/www |
pankso@15774 | 34 ln -s cgi-bin/tinycm . |
pankso@15774 | 35 } |