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

partclone: add btrfs & hfsplus support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 04 11:53:21 2012 +0200 (2012-10-04)
parents 1830241d031d
children 06bbf4cf0c43
rev   line source
erjo@1445 1 # SliTaz package receipt.
erjo@1445 2
erjo@1445 3 PACKAGE="gnome-doc-utils"
slaxemulator@10197 4 VERSION="0.20.6"
pascal@1506 5 CATEGORY="misc"
erjo@1445 6 SHORT_DESC="Documentation utilities for Gnome"
erjo@1445 7 MAINTAINER="erjo@slitaz.org"
slaxemulator@9356 8 DEPENDS="libxml2 libxslt python libxml2-python rarian docbook-xml"
slaxemulator@9356 9 BUILD_DEPENDS="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@10197 12 WGET_URL="$GNOME_MIRROR/$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