SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "shaarli"

# SliTaz package receipt.

PACKAGE="shaarli"
VERSION="0.0.37beta"
CATEGORY="network"
SHORT_DESC="A minimalist delicious clone."
WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=php:shaarli"
MAINTAINER="pascal.bellard@slitaz.org"
_TARBALL="${PACKAGE}_$VERSION.zip"
_URL="http://sebsauvage.net/files/$_TARBALL"

DEPENDS="php"

# Rules to configure and make the package.
compile_rules()
{
    [ -s "$SOURCES_REPOSITORY/$_TARBALL" ] ||
        wget -O "$SOURCES_REPOSITORY/$_TARBALL" $_URL
    mkdir -p $src 2> /dev/null
}

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

post_install()
{
    chown -R www $1/var/www/$PACKAGE
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)