# SliTaz package receipt. PACKAGE="picoblog" VERSION="1.0" CATEGORY="network" SHORT_DESC="Tiny blog engine." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" TARBALL="$PACKAGE-$VERSION" WEB_SITE="https://web.archive.org/web/20200128165016/https://dev.kd2.org/picoblog/" WGET_URL="https://svn.kd2.org/svn/misc/apps/picoblog/index.php" HOST_ARCH="any" TAGS="blog" DEPENDS="php" # What is the latest version available today? current_version() { wget -O - $WGET_URL 2> /dev/null | \ sed '/const VERSION/!d;s|.*= [^0-9]||;s|[^0-9\.].*||' } # Rules to configure and make the package. compile_rules() { mkdir -p $DESTDIR/var/www/$PACKAGE 2> /dev/null cp "$SOURCES_REPOSITORY/$TARBALL" $DESTDIR/var/www/$PACKAGE/index.php chown -R 80.80 $DESTDIR/var/www/$PACKAGE } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }