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

ocs agent: fix Tapkg.pm
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 17 23:08:43 2011 +0100 (2011-02-17)
parents 3e1febac0a14
children 1c16d846c065
rev   line source
erjo@1445 1 # SliTaz package receipt.
erjo@1445 2
erjo@1445 3 PACKAGE="gnome-doc-utils"
slaxemulator@7627 4 VERSION="0.20.2"
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 \
erjo@1445 20 --disable-scrollkeeper \
erjo@1445 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
erjo@1445 22 make &&
erjo@1445 23 make DESTDIR=$PWD/_pkg install
erjo@1445 24 }
erjo@1445 25
erjo@1445 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1445 27 genpkg_rules()
erjo@1445 28 {
erjo@1445 29 mkdir -p $fs/usr/bin $fs/usr/share/locale
erjo@1445 30 cp -a $_pkg/usr/bin/gnome-doc-tool $fs/usr/bin
erjo@1445 31 cp -a $_pkg/usr/bin/xml2po $fs/usr/bin
erjo@1445 32 cp -a $_pkg/usr/share/xml $fs/usr/share
slaxemulator@7627 33 cp -a $_pkg/usr/lib $fs/usr
erjo@1445 34 }
erjo@1445 35