SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "kriss_feed"

# SliTaz package receipt.

PACKAGE="kriss_feed"
VERSION="8.7"
GITHASH="31c857d66c3cf8e8efd281201a1a97d3d87ee1b8"
CATEGORY="network"
SHORT_DESC="A simple and smart (or stupid) feed reader."
WEB_SITE="https://github.com/tontof/kriss_feed"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="other"
TARBALL="$PACKAGE-$VERSION"
WGET_URL="$WEB_SITE/raw/$GITHASH/index.php"

DEPENDS="php"
BUILD_DEPENDS="wget"

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

# Rules to gen a SliTaz package suitable for Tazpkg.   
genpkg_rules()                                      
{
    mkdir -p $fs/var/www/$PACKAGE
    cd $fs/var/www/$PACKAGE
    cp "$SOURCES_REPOSITORY/$TARBALL" $fs/var/www/$PACKAGE/index.php
}

post_install()
{
    chown -R www "$1/var/www/$PACKAGE"
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)