wok-6.x view codiad/receipt @ rev 18484

Up tazpkg-test(846)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 09 13:15:59 2015 +0300 (2015-10-09)
parents 26d6480cadd4
children 8fd617e454b5
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://codiad.com/"
12 WGET_URL="https://nodeload.github.com/Fluidbyte/Codiad/tarball/$GITHASH"
13 CONFIG_FILES="/etc/codiad.php"
15 DEPENDS="php"
16 BUILD_DEPENDS="wget"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/var/www/codiad $fs/etc
28 cp -a $src/* $fs/var/www/codiad
29 chown -R www.www $fs/var/www/codiad
30 chmod 777 $fs/var/www/codiad/data
31 mv $fs/var/www/codiad/config.example.php $fs/etc/codiad.php
32 ln -s /etc/codiad.php $fs/var/www/codiad/config.php
33 }