wok-current annotate blazekiss/receipt @ rev 16907

pangox-compat-dev: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 16 02:01:15 2014 +0300 (2014-07-16)
parents ae0257dd41cf
children e3079653b462
rev   line source
pascal@13569 1 # SliTaz package receipt.
pascal@13569 2
pascal@13569 3 PACKAGE="blazekiss"
pascal@16650 4 GITHASH="d5349fb3e1a14bdf4a85273b29dd24653e2f3177"
pascal@16650 5 VERSION=${GITHASH:0:7}
pascal@13569 6 CATEGORY="office"
pascal@13569 7 SHORT_DESC="Tiny Wiki Engine in french."
pascal@13569 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15202 9 LICENSE="GPL2"
pascal@16652 10 TARBALL="$PACKAGE-$VERSION.zip"
pascal@16650 11 WEB_SITE="http://projet.idleman.fr/blazekiss/"
pascal@16650 12 WGET_URL="https://github.com/ldleman/$PACKAGE/archive/$GITHASH.zip"
pascal@16650 13 CONFIG_FILES="/var/www/blazekiss/_config.php"
pascal@16650 14
pascal@13569 15 DEPENDS="lighttpd php"
pascal@16650 16 BUILD_DEPENDS="wget"
pascal@13569 17
pascal@13569 18 # Rules to configure and make the package.
pascal@13569 19 compile_rules()
pascal@13569 20 {
pascal@13569 21 true
pascal@13569 22 }
pascal@13569 23
pascal@13569 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13569 25 genpkg_rules()
pascal@13569 26 {
pascal@13569 27 index=$(find $src -name index.php)
pascal@13569 28 src=$(dirname $index)
pascal@13569 29 mkdir -p $fs/var/www
pascal@13569 30 cp -a $src $fs/var/www/blazekiss
pascal@13569 31 rm -f $fs/var/www/blazekiss/historique/*/*.bak
pascal@13569 32 chown -R www.www $fs/var/www/blazekiss
pascal@13569 33 }