# HG changeset patch # User Hans-G?nter Theisgen # Date 1578659519 -3600 # Node ID 8fd617e454b5a69b3a6894e9cffacdc89dec2984 # Parent 79b699a8a775159b49a1d7d200beaaea22a9b145 updated codiad ( -> 2.8.4) diff -r 79b699a8a775 -r 8fd617e454b5 codiad/receipt --- a/codiad/receipt Fri Jan 10 13:15:48 2020 +0100 +++ b/codiad/receipt Fri Jan 10 13:31:59 2020 +0100 @@ -1,34 +1,32 @@ # SliTaz package receipt. PACKAGE="codiad" -GITHASH="51852c63d85dd961527426c4a157c712a74a0859" -VERSION=${GITHASH:0:7} +#GITHASH="51852c63d85dd961527426c4a157c712a74a0859" +#VERSION=${GITHASH:0:7} +VERSION="2.8.4" CATEGORY="office" -SHORT_DESC="web-based IDE framework with a small footprint." +SHORT_DESC="Web-based IDE framework with a small footprint." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" +WEB_SITE="http://codiad.com/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://codiad.com/" -WGET_URL="https://nodeload.github.com/Fluidbyte/Codiad/tarball/$GITHASH" -CONFIG_FILES="/etc/codiad.php" +WGET_URL="https://github.com/Codiad/Codiad/archive/v.$VERSION.tar.gz" DEPENDS="php" -BUILD_DEPENDS="wget" -# Rules to configure and make the package. -compile_rules() -{ - cd $src -} +CONFIG_FILES="/etc/codiad.php" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/var/www/codiad $fs/etc - cp -a $src/* $fs/var/www/codiad - chown -R www.www $fs/var/www/codiad - chmod 777 $fs/var/www/codiad/data - mv $fs/var/www/codiad/config.example.php $fs/etc/codiad.php - ln -s /etc/codiad.php $fs/var/www/codiad/config.php + mkdir -p $fs/var/www/codiad + mkdir -p $fs/etc + + cp -a $src/* $fs/var/www/codiad + chown -R www.www $fs/var/www/codiad + chmod 777 $fs/var/www/codiad/data + mv $fs/var/www/codiad/config.example.php \ + $fs/etc/codiad.php + ln -s /etc/codiad.php $fs/var/www/codiad/config.php } -