wok view gnome-doc-utils/receipt @ rev 10625
wvstreams: fic build (CONFIGURE_ARGS must sometime go first) + fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 21:39:55 2011 +0200 (2011-05-26) |
parents | 1830241d031d |
children | 06bbf4cf0c43 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-doc-utils"
4 VERSION="0.20.6"
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="$GNOME_MIRROR/$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 }