SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "blazekiss"

# SliTaz package receipt.

PACKAGE="blazekiss"
GITHASH="d5349fb3e1a14bdf4a85273b29dd24653e2f3177"
VERSION=${GITHASH:0:7}
CATEGORY="office"
SHORT_DESC="Tiny Wiki Engine in french."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.zip"
WEB_SITE="http://projet.idleman.fr/blazekiss/"
WGET_URL="https://github.com/krisxoofoo/$PACKAGE/archive/$GITHASH.zip"
CONFIG_FILES="/var/www/blazekiss/_config.php"

DEPENDS="lighttpd php"
BUILD_DEPENDS="wget"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/krisxoofoo/blazekiss/commits/master 2>/dev/null | \
    sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
}

# Rules to configure and make the package.
compile_rules()
{
    true
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    index=$(find $src -name index.php)
    src=$(dirname $index)
    mkdir -p $fs/var/www
    cp -a $src $fs/var/www/blazekiss
    rm -f $fs/var/www/blazekiss/historique/*/*.bak
    chown -R www.www $fs/var/www/blazekiss
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)