wok-next view codiad/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | e1c0edabdcb2 |
children | 0ed3f456a542 |
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 chmod 777 $install/var/www/codiad/data
19 mv $install/var/www/codiad/config.example.php $install/etc/codiad.php
20 ln -s /etc/codiad.php $install/var/www/codiad/config.php
21 }
23 genpkg_rules() {
24 copy @std
25 chown -R www:www $fs/var/www/codiad
26 DEPENDS="php"
27 CONFIG_FILES="/etc/codiad.php"
28 }