SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tazweb-legacy"

# SliTaz package receipt.

PACKAGE="tazweb-legacy"
VERSION="209"
CATEGORY="network"
TAGS="web-browser"
SHORT_DESC="SliTaz simple, fast and small Web Browser Legacy."
MAINTAINER="pankso@slitaz.org"
LICENSE="BSD"
WEB_SITE="http://www.slitaz.org/"

TARBALL="tazweb-$VERSION.tar.gz"
WGET_URL="http://hg.slitaz.org/tazweb/archive/$VERSION.tar.gz"

DEPENDS="libwebkit libsoup"
BUILD_DEPENDS="glib-dev gtk+-dev libsoup248-dev libwebkit-dev \
libidn-dev libxslt-dev"
HOST_ARCH="i486 arm"

current_version()
{
    wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
    sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
    xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
}

# Rules to configure and make the package.
compile_rules()
{
    export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/lib/libsoup248/pkgconfig"
    patch -p1 < $stuff/build_libwebkit.patch
    make -j 1 &&
    make DESTDIR=$install install
}

# Cross compilation check
testsuite() {
    readelf -h $install/usr/bin/tazweb
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $install/usr/bin/tazweb $fs/usr/bin/tazweb-legacy
}

#post_install()
#{
#    sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \
#        $1/usr/share/doc/tazweb/style.css
#}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)