wok view codiad/receipt @ rev 13677
Up: sqlite to 3.14.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 26 20:12:25 2012 +0000 (2012-11-26) |
parents | |
children | 26d6480cadd4 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://codiad.com/"
11 WGET_URL="https://nodeload.github.com/Fluidbyte/Codiad/tarball/$GITHASH"
12 CONFIG_FILES="/etc/codiad.php"
14 DEPENDS="php"
15 BUILD_DEPENDS="wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/var/www/codiad $fs/etc
27 cp -a $src/* $fs/var/www/codiad
28 chown -R www.www $fs/var/www/codiad
29 chmod 777 $fs/var/www/codiad/data
30 mv $fs/var/www/codiad/config.sample.php $fs/etc/codiad.php
31 ln -s /etc/codiad.php $fs/var/www/codiad/config.php
32 }