# SliTaz package receipt. PACKAGE="gnome-doc-utils" VERSION="0.20.6" CATEGORY="misc" SHORT_DESC="Documentation utilities for Gnome" MAINTAINER="erjo@slitaz.org" DEPENDS="libxml2 libxslt python libxml2-python rarian docbook-xml" BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config intltool" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.gnome.org/" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr \ --infodir=/usr/share/info \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-scrollkeeper \ --mandir=/usr/share/man $CONFIGURE_ARGS && make -j1 && make -j1 DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/share/locale cp -a $_pkg/usr/bin/gnome-doc-tool $fs/usr/bin cp -a $_pkg/usr/bin/xml2po $fs/usr/bin cp -a $_pkg/usr/share/xml $fs/usr/share cp -a $_pkg/usr/lib $fs/usr }