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

Add rinetd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 26 18:33:13 2014 +0200 (2014-09-26)
parents 4634aee14816
children 16df76e1fc6a
rev   line source
erjo@1445 1 # SliTaz package receipt.
erjo@1445 2
erjo@1445 3 PACKAGE="gnome-doc-utils"
pascal@15329 4 VERSION="0.20.10"
pascal@1506 5 CATEGORY="misc"
erjo@1445 6 SHORT_DESC="Documentation utilities for Gnome"
erjo@1445 7 MAINTAINER="erjo@slitaz.org"
pascal@15329 8 LICENSE="GPL2 LGPL2.1"
pascal@15329 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@15329 10 WEB_SITE="http://www.gnome.org/"
pascal@15329 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@15329 12
slaxemulator@9356 13 DEPENDS="libxml2 libxslt python libxml2-python rarian docbook-xml"
slaxemulator@9356 14 BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config intltool"
erjo@1445 15
erjo@1445 16 # Rules to configure and make the package.
erjo@1445 17 compile_rules()
erjo@1445 18 {
erjo@1445 19 cd $src
erjo@1445 20 ./configure --prefix=/usr \
erjo@1445 21 --infodir=/usr/share/info \
slaxemulator@9353 22 --sysconfdir=/etc \
slaxemulator@9353 23 --localstatedir=/var \
erjo@1445 24 --disable-scrollkeeper \
erjo@1445 25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
slaxemulator@9353 26 make -j1 &&
pascal@15329 27 make -j1 DESTDIR=$DESTDIR install
erjo@1445 28 }
erjo@1445 29
erjo@1445 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1445 31 genpkg_rules()
erjo@1445 32 {
erjo@1445 33 mkdir -p $fs/usr/bin $fs/usr/share/locale
pascal@15329 34 cp -a $install/usr/bin/gnome-doc-tool $fs/usr/bin
pascal@15329 35 cp -a $install/usr/bin/xml2po $fs/usr/bin
pascal@15329 36 cp -a $install/usr/share/xml $fs/usr/share
pascal@15329 37 cp -a $install/usr/lib $fs/usr
erjo@1445 38 }
erjo@1445 39