wok-next view codiad/receipt @ rev 20715

Up nsd (4.1.21)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 13:10:46 2018 +0300 (2018-05-27)
parents eb8067417980
children 86b5d202495a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="codiad"
4 GITHASH="51852c63d85dd961527426c4a157c712a74a0859"
5 VERSION=${GITHASH:0:7}
6 CATEGORY="office"
7 SHORT_DESC="Web-based IDE framework with a small footprint"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="http://codiad.com/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://nodeload.github.com/Fluidbyte/Codiad/tarball/$GITHASH"
15 compile_rules() {
16 mkdir -p $install/var/www/codiad $install/etc
17 cp -a $src/* $install/var/www/codiad
18 chown -R www.www $install/var/www/codiad
19 chmod 777 $install/var/www/codiad/data
20 mv $install/var/www/codiad/config.example.php $install/etc/codiad.php
21 ln -s /etc/codiad.php $install/var/www/codiad/config.php
22 }
24 genpkg_rules() {
25 copy @std
26 DEPENDS="php"
27 CONFIG_FILES="/etc/codiad.php"
28 }