wok annotate gnome-doc-utils/receipt @ rev 9353

Up: gnome-doc-utils to 0.20.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Mar 19 21:07:26 2011 +0000 (2011-03-19)
parents 259cdb34477b
children 1830241d031d
rev   line source
erjo@1445 1 # SliTaz package receipt.
erjo@1445 2
erjo@1445 3 PACKAGE="gnome-doc-utils"
slaxemulator@9353 4 VERSION="0.20.4"
pascal@1506 5 CATEGORY="misc"
erjo@1445 6 SHORT_DESC="Documentation utilities for Gnome"
erjo@1445 7 MAINTAINER="erjo@slitaz.org"
slaxemulator@7337 8 DEPENDS="libxml2 libxslt python libxml2-python rarian"
slaxemulator@7627 9 BUILD_DEPENDS="docbook-xml libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config intltool"
erjo@1445 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1445 11 WEB_SITE="http://www.gnome.org/"
slaxemulator@6741 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@1445 13
erjo@1445 14 # Rules to configure and make the package.
erjo@1445 15 compile_rules()
erjo@1445 16 {
erjo@1445 17 cd $src
erjo@1445 18 ./configure --prefix=/usr \
erjo@1445 19 --infodir=/usr/share/info \
slaxemulator@9353 20 --sysconfdir=/etc \
slaxemulator@9353 21 --localstatedir=/var \
erjo@1445 22 --disable-scrollkeeper \
erjo@1445 23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
slaxemulator@9353 24 make -j1 &&
slaxemulator@9353 25 make -j1 DESTDIR=$PWD/_pkg install
erjo@1445 26 }
erjo@1445 27
erjo@1445 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1445 29 genpkg_rules()
erjo@1445 30 {
erjo@1445 31 mkdir -p $fs/usr/bin $fs/usr/share/locale
erjo@1445 32 cp -a $_pkg/usr/bin/gnome-doc-tool $fs/usr/bin
erjo@1445 33 cp -a $_pkg/usr/bin/xml2po $fs/usr/bin
erjo@1445 34 cp -a $_pkg/usr/share/xml $fs/usr/share
slaxemulator@7627 35 cp -a $_pkg/usr/lib $fs/usr
erjo@1445 36 }
erjo@1445 37