wok-6.x view gnome-doc-utils/receipt @ rev 9356

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