SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gnome-js-common"

# SliTaz package receipt.

PACKAGE="gnome-js-common"
VERSION="0.1.2"
CATEGORY="system-tools"
SHORT_DESC="Gnome JS common files."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.gnome.org/"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS=""
BUILD_DEPENDS="intltool"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/lib $fs/usr
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)