wok-current view wikiss/receipt @ rev 25574
asterisk: make install-headers inserted
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 13 17:20:22 2023 +0100 (18 months ago) |
parents | 3e2a0347b2f1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="wikiss"
4 VERSION="0.3"
5 CATEGORY="office"
6 SHORT_DESC="Tiny Wiki Engine in french."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://wikiss.tuxfamily.org/"
11 WGET_URL="http://download.tuxfamily.org/$PACKAGE/${VERSION%.*}.x/$VERSION.tgz"
12 CONFIG_FILES="/var/www/wikiss/_config.php"
13 HOST_ARCH="any"
15 DEPENDS="lighttpd php"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed '/tgz/!d;s|.*href="\(.*\).tgz".*|\1|' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mv $PACKAGE $src 2> /dev/null
27 cd $src
28 sed -i -e 's/strpos(\$CONTENT/true || &/' \
29 -e 's|^.*cC.*$|\t $CONTENT = preg_replace("/\\([eE]\\)/Umsi", "\€", $CONTENT); // (e)\n\t $CONTENT = preg_replace("/\\([yY]\\)/Umsi", "\¥", $CONTENT); // (y)\n&|' index.php
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/var/www
36 cp -a $src $fs/var/www/wikiss
37 rm -f $fs/var/www/wikiss/historique/*/*.bak
38 cp -a $stuff/* $fs/var/www/wikiss/
39 chown -R www.www $fs/var/www/wikiss
40 }