wok view codiad/receipt @ rev 24016
Up tazinst (113)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 25 12:03:41 2021 +0000 (2021-02-25) |
parents | eb8067417980 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="codiad"
4 #GITHASH="51852c63d85dd961527426c4a157c712a74a0859"
5 #VERSION=${GITHASH:0:7}
6 VERSION="2.8.4"
7 CATEGORY="office"
8 SHORT_DESC="Web-based IDE framework with a small footprint."
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="MIT"
11 WEB_SITE="http://codiad.com/"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/Codiad/Codiad/archive/v.$VERSION.tar.gz"
16 DEPENDS="php"
18 CONFIG_FILES="/etc/codiad.php"
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/var/www/codiad
24 mkdir -p $fs/etc
26 cp -a $src/* $fs/var/www/codiad
27 chown -R www.www $fs/var/www/codiad
28 chmod 777 $fs/var/www/codiad/data
29 mv $fs/var/www/codiad/config.example.php \
30 $fs/etc/codiad.php
31 ln -s /etc/codiad.php $fs/var/www/codiad/config.php
32 }