SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pywebkitgtk"

# SliTaz package receipt.

PACKAGE="pywebkitgtk"
VERSION="1.1.8"
CATEGORY="development"
SHORT_DESC="Python bindings to the Webkit GTK+ port."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="LGPL2"
WEB_SITE="https://wiki.python.org/moin/PyWebkitGtk"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"

DEPENDS="libwebkit libxml2 libxslt pygtk"
BUILD_DEPENDS="libwebkit-dev libxml2-dev libxslt-dev pygtk-dev python-dev
    util-linux-uuid-dev pkg-config"
    
# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/jmalonzo/pywebkitgtk/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share

    cp -a $install/usr/lib            $fs/usr
    cp -a $install/usr/share/pywebkitgtk    $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)