wok view codiad/receipt @ rev 15100

weechat: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 12:26:59 2013 +0000 (2013-08-14)
parents 4aed2b24febc
children eb8067417980
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.example.php $fs/etc/codiad.php
31 ln -s /etc/codiad.php $fs/var/www/codiad/config.php
32 }