wok annotate 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 |
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@13591 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 10 WEB_SITE="http://codiad.com/" |
pascal@13591 | 11 WGET_URL="https://nodeload.github.com/Fluidbyte/Codiad/tarball/$GITHASH" |
pascal@13591 | 12 CONFIG_FILES="/etc/codiad.php" |
pascal@13591 | 13 |
pascal@13591 | 14 DEPENDS="php" |
pascal@13591 | 15 BUILD_DEPENDS="wget" |
pascal@13591 | 16 |
pascal@13591 | 17 # Rules to configure and make the package. |
pascal@13591 | 18 compile_rules() |
pascal@13591 | 19 { |
pascal@13591 | 20 cd $src |
pascal@13591 | 21 } |
pascal@13591 | 22 |
pascal@13591 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 24 genpkg_rules() |
pascal@13591 | 25 { |
pascal@13591 | 26 mkdir -p $fs/var/www/codiad $fs/etc |
pascal@13591 | 27 cp -a $src/* $fs/var/www/codiad |
pascal@13591 | 28 chown -R www.www $fs/var/www/codiad |
pascal@13591 | 29 chmod 777 $fs/var/www/codiad/data |
pascal@15057 | 30 mv $fs/var/www/codiad/config.example.php $fs/etc/codiad.php |
pascal@13591 | 31 ln -s /etc/codiad.php $fs/var/www/codiad/config.php |
pascal@13591 | 32 } |
pascal@13591 | 33 |