SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gnome-doc-utils"

# SliTaz package receipt.

PACKAGE="gnome-doc-utils"
VERSION="0.20.10"
CATEGORY="misc"
SHORT_DESC="Documentation  utilities for Gnome"
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2 LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="https://www.gnome.org/"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="libxml2 libxslt python libxml2-python rarian docbook-xml"
BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config \
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()
{
    ./configure --prefix=/usr \
        --infodir=/usr/share/info \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --disable-scrollkeeper \
        --mandir=/usr/share/man $CONFIGURE_ARGS &&
    make -j1 &&
    make -j1 DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/share/locale
    cp -a $install/usr/bin/gnome-doc-tool $fs/usr/bin
    cp -a $install/usr/bin/xml2po $fs/usr/bin
    cp -a $install/usr/share/xml $fs/usr/share
    cp -a $install/usr/lib $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)