wok diff codiad/receipt @ rev 24016

Up tazinst (113)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 25 12:03:41 2021 +0000 (2021-02-25)
parents eb8067417980
children 5ea0ce1cecc0
line diff
     1.1 --- a/codiad/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/codiad/receipt	Thu Feb 25 12:03:41 2021 +0000
     1.3 @@ -1,34 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="codiad"
     1.7 -GITHASH="51852c63d85dd961527426c4a157c712a74a0859"
     1.8 -VERSION=${GITHASH:0:7}
     1.9 +#GITHASH="51852c63d85dd961527426c4a157c712a74a0859"
    1.10 +#VERSION=${GITHASH:0:7}
    1.11 +VERSION="2.8.4"
    1.12  CATEGORY="office"
    1.13 -SHORT_DESC="web-based IDE framework with a small footprint."
    1.14 +SHORT_DESC="Web-based IDE framework with a small footprint."
    1.15  MAINTAINER="pascal.bellard@slitaz.org"
    1.16  LICENSE="MIT"
    1.17 +WEB_SITE="http://codiad.com/"
    1.18 +
    1.19  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 -WEB_SITE="http://codiad.com/"
    1.21 -WGET_URL="https://nodeload.github.com/Fluidbyte/Codiad/tarball/$GITHASH"
    1.22 -CONFIG_FILES="/etc/codiad.php"
    1.23 +WGET_URL="https://github.com/Codiad/Codiad/archive/v.$VERSION.tar.gz"
    1.24  
    1.25  DEPENDS="php"
    1.26 -BUILD_DEPENDS="wget"
    1.27  
    1.28 -# Rules to configure and make the package.
    1.29 -compile_rules()
    1.30 -{
    1.31 -	cd $src
    1.32 -}
    1.33 +CONFIG_FILES="/etc/codiad.php"
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.36  genpkg_rules()                                      
    1.37  {
    1.38 -	mkdir -p $fs/var/www/codiad $fs/etc
    1.39 -	cp -a $src/* $fs/var/www/codiad
    1.40 -	chown -R www.www $fs/var/www/codiad
    1.41 -	chmod 777 $fs/var/www/codiad/data
    1.42 -	mv $fs/var/www/codiad/config.example.php $fs/etc/codiad.php
    1.43 -	ln -s /etc/codiad.php $fs/var/www/codiad/config.php
    1.44 +	mkdir -p $fs/var/www/codiad
    1.45 +	mkdir -p $fs/etc
    1.46 +
    1.47 +	cp -a $src/*		$fs/var/www/codiad
    1.48 +	chown -R www.www	$fs/var/www/codiad
    1.49 +	chmod 777		$fs/var/www/codiad/data
    1.50 +	mv $fs/var/www/codiad/config.example.php \
    1.51 +				$fs/etc/codiad.php
    1.52 +	ln -s /etc/codiad.php	$fs/var/www/codiad/config.php
    1.53  }
    1.54 -