wok-next view codiad/receipt @ rev 15679

lxc: add depend for linux-lxc
Add linux-lxc
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 20:12:42 2013 +0100 (2013-12-20)
parents 26d6480cadd4
children e1c0edabdcb2
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 }