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 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
}

# 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"
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)