wok-current annotate codiad/receipt @ rev 18862
Up tzdata(2016a)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 28 17:55:47 2016 +0200 (2016-01-28) |
parents | 26d6480cadd4 |
children | 8fd617e454b5 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="codiad" |
pascal@13591 | 4 GITHASH="51852c63d85dd961527426c4a157c712a74a0859" |
pascal@13591 | 5 VERSION=${GITHASH:0:7} |
pascal@13591 | 6 CATEGORY="office" |
pascal@13591 | 7 SHORT_DESC="web-based IDE framework with a small footprint." |
pascal@13591 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
pascal@13591 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 11 WEB_SITE="http://codiad.com/" |
pascal@13591 | 12 WGET_URL="https://nodeload.github.com/Fluidbyte/Codiad/tarball/$GITHASH" |
pascal@13591 | 13 CONFIG_FILES="/etc/codiad.php" |
pascal@13591 | 14 |
pascal@13591 | 15 DEPENDS="php" |
pascal@13591 | 16 BUILD_DEPENDS="wget" |
pascal@13591 | 17 |
pascal@13591 | 18 # Rules to configure and make the package. |
pascal@13591 | 19 compile_rules() |
pascal@13591 | 20 { |
pascal@13591 | 21 cd $src |
pascal@13591 | 22 } |
pascal@13591 | 23 |
pascal@13591 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 25 genpkg_rules() |
pascal@13591 | 26 { |
pascal@13591 | 27 mkdir -p $fs/var/www/codiad $fs/etc |
pascal@13591 | 28 cp -a $src/* $fs/var/www/codiad |
pascal@13591 | 29 chown -R www.www $fs/var/www/codiad |
pascal@13591 | 30 chmod 777 $fs/var/www/codiad/data |
pascal@15057 | 31 mv $fs/var/www/codiad/config.example.php $fs/etc/codiad.php |
pascal@13591 | 32 ln -s /etc/codiad.php $fs/var/www/codiad/config.php |
pascal@13591 | 33 } |
pascal@13591 | 34 |