wok-next view lionwiki/receipt @ rev 20461

Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Mar 04 04:56:40 2018 +0200 (2018-03-04)
parents d51b2411e55e
children b278b2018965
line source
1 # SliTaz package receipt.
3 PACKAGE="lionwiki"
4 VERSION="3.2.9"
5 CATEGORY="office"
6 SHORT_DESC="Minimalist Wiki engine programmed in PHP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://lionwiki.0o.cz"
11 WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL"
12 CONFIG_FILES="/var/www/lionwikiss/config.php"
14 DEPENDS="lighttpd php"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/var/www
26 cp -a $src $fs/var/www/lionwiki
27 chown -R www.www $fs/var/www/lionwiki
28 }