wok-6.x annotate gnome-doc-utils/receipt @ rev 6741

Up: gnome-doc-utils to 0.16.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 16 21:23:43 2010 +0000 (2010-10-16)
parents 7d810eeb59db
children cc6aaba4361c
rev   line source
erjo@1445 1 # SliTaz package receipt.
erjo@1445 2
erjo@1445 3 PACKAGE="gnome-doc-utils"
slaxemulator@6741 4 VERSION="0.16.1"
pascal@1506 5 CATEGORY="misc"
erjo@1445 6 SHORT_DESC="Documentation utilities for Gnome"
erjo@1445 7 MAINTAINER="erjo@slitaz.org"
erjo@5895 8 DEPENDS="libxml2 libxslt python libxml2-python"
slaxemulator@6741 9 BUILD_DEPENDS="libxml2-dev libxslt-dev libxslt 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/xml2po $fs/usr/share
erjo@1445 33 cp -a $_pkg/usr/share/xml $fs/usr/share
erjo@1445 34
erjo@1445 35 }
erjo@1445 36