SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "cream"

# SliTaz package receipt.

PACKAGE="cream"
VERSION="1.0-rc5"
CATEGORY="network"
TAGS="web-browser"
SHORT_DESC="Light web browser based on WebKit and using GTK+."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://sourceforge.net/projects/cream-browser/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/cream-browser/$TARBALL"

DEPENDS="gtk+ gcc-lib-base libwebkit libtasn1"
BUILD_DEPENDS="libwebkit-dev libwebkit libsoup-dev gtk+-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/cream-browser/files/cream-browser/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/cream-browser/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    mv -f $PACKAGE $src 2> /dev/null
    cd $src

    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)