wok-next view blogotext/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | d43bf7aae921 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="blogotext"
4 VERSION="2.0.0.0"
5 CATEGORY="network"
6 SHORT_DESC="Simple blog engine"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/BlogoText/blogotext"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 URL="$WEB_SITE/archives/$TARBALL" # FIXME
14 compile_rules() {
15 [ -s "$SRC/$TARBALL" ] || wget -O "$SRC/$TARBALL" $URL
17 mkdir -p $install/var/www 2>/dev/null
18 cd $install/var/www
19 unzip "$SRC/$TARBALL"
20 chown -R 80.80 $install/var/www/blogotext
21 find $install -type f -exec chmod a-x '{}' \;
22 }
24 genpkg_rules() {
25 cp -a $install/* $fs
26 DEPENDS="php-gd"
27 }