wok-next annotate docbook-utils/receipt @ rev 19954
qt4: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 16 15:44:30 2017 +0200 (2017-10-16) |
parents | |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19790 | 1 # SliTaz package receipt v2. |
al@19790 | 2 |
al@19790 | 3 PACKAGE="docbook-utils" |
al@19790 | 4 VERSION="0.6.14" |
al@19790 | 5 CATEGORY="development" |
al@19790 | 6 SHORT_DESC="Shell scripts to manage DocBook documents" |
al@19790 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19790 | 8 LICENSE="GPL2" |
al@19790 | 9 WEB_SITE="https://www.sourceware.org/docbook-tools/" |
al@19790 | 10 |
al@19790 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19790 | 12 WGET_URL="https://www.sourceware.org/pub/docbook-tools/new-trials/SOURCES/$TARBALL" |
al@19790 | 13 |
al@19790 | 14 BUILD_DEPENDS="openjade docbook-dsssl docbook-sgml3" |
al@19790 | 15 |
al@19790 | 16 # Rules to configure and make the package. |
al@19790 | 17 compile_rules() |
al@19790 | 18 { |
al@19790 | 19 sed -i 's:/html::' doc/HTML/Makefile.in |
al@19790 | 20 |
al@19790 | 21 ./configure \ |
al@19790 | 22 --mandir=/usr/share/man \ |
al@19790 | 23 $CONFIGURE_ARGS && |
al@19790 | 24 make && |
al@19790 | 25 make docdir=/usr/share/doc install && |
al@19790 | 26 |
al@19790 | 27 for i in html ps dvi man pdf rtf tex texi txt; do |
al@19790 | 28 ln -svf docbook2$i $install/usr/bin/db2$i |
al@19790 | 29 ln -svf docbook2$i $install/usr/bin/docbook-to-$i |
al@19790 | 30 done |
al@19790 | 31 } |
al@19790 | 32 |
al@19790 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19790 | 34 genpkg_rules() |
al@19790 | 35 { |
al@19790 | 36 copy @std |
al@19790 | 37 DEPENDS="perl openjade docbook-dsssl docbook-sgml docbook-sgml3 perl-sgmlspm" |
al@19790 | 38 } |