wok annotate gnome-doc-utils/receipt @ rev 19575
Up tazlito (444)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 10:22:25 2016 +0100 (2016-12-24) |
parents | 06bbf4cf0c43 |
children | 86790a278e70 |
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" |
al@18077 | 14 BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config \ |
al@18077 | 15 intltool" |
erjo@1445 | 16 |
erjo@1445 | 17 # Rules to configure and make the package. |
erjo@1445 | 18 compile_rules() |
erjo@1445 | 19 { |
erjo@1445 | 20 ./configure --prefix=/usr \ |
al@18077 | 21 --infodir=/usr/share/info \ |
al@18077 | 22 --sysconfdir=/etc \ |
al@18077 | 23 --localstatedir=/var \ |
al@18077 | 24 --disable-scrollkeeper \ |
al@18077 | 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 } |