wok-next diff codiad/receipt @ rev 14652

Add licenses, just for the seed (for example). Anyone can delete this.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 04 22:20:53 2013 +0000 (2013-06-04)
parents
children 26d6480cadd4
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/codiad/receipt	Tue Jun 04 22:20:53 2013 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="codiad"
     1.7 +GITHASH="51852c63d85dd961527426c4a157c712a74a0859"
     1.8 +VERSION=${GITHASH:0:7}
     1.9 +CATEGORY="office"
    1.10 +SHORT_DESC="web-based IDE framework with a small footprint."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://codiad.com/"
    1.14 +WGET_URL="https://nodeload.github.com/Fluidbyte/Codiad/tarball/$GITHASH"
    1.15 +CONFIG_FILES="/etc/codiad.php"
    1.16 +
    1.17 +DEPENDS="php"
    1.18 +BUILD_DEPENDS="wget"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.27 +genpkg_rules()                                      
    1.28 +{
    1.29 +	mkdir -p $fs/var/www/codiad $fs/etc
    1.30 +	cp -a $src/* $fs/var/www/codiad
    1.31 +	chown -R www.www $fs/var/www/codiad
    1.32 +	chmod 777 $fs/var/www/codiad/data
    1.33 +	mv $fs/var/www/codiad/config.sample.php $fs/etc/codiad.php
    1.34 +	ln -s /etc/codiad.php $fs/var/www/codiad/config.php
    1.35 +}
    1.36 +