wok view tinycm/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 2d70b04a7ddd
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tinycm"
4 VERSION="1.3"
5 CATEGORY="network"
6 SHORT_DESC="Small and elegent CGI content manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
12 HOST_ARCH="i486 arm"
14 current_version()
15 {
16 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
17 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
18 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make && make DESTDIR=$install install
25 make DESTDIR=$install install-slitaz
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs
32 cp -a $install/* $fs
33 cd $fs/var/www
34 ln -s cgi-bin/tinycm .
35 }