wok annotate xmlto/receipt @ rev 22188
updated xorg-fontsproto (2.1.2 -> 2.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 09:14:03 2019 +0100 (2019-11-11) |
parents | f111123cc72e |
children | 3105f866bc3e |
rev | line source |
---|---|
yuripourre@17815 | 1 # SliTaz package receipt. |
yuripourre@17815 | 2 |
yuripourre@17815 | 3 PACKAGE="xmlto" |
Hans-G?nter@22158 | 4 VERSION="0.0.28" |
yuripourre@17815 | 5 CATEGORY="utilities" |
yuripourre@17815 | 6 LICENSE="GPL" |
Hans-G?nter@22158 | 7 SHORT_DESC="Tool for converting XML files to various formats." |
yuripourre@17815 | 8 MAINTAINER="yuripourre@gmail.com" |
Hans-G?nter@22158 | 9 WEB_SITE="https://pagure.io/xmlto/" |
Hans-G?nter@22158 | 10 |
yuripourre@17815 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22158 | 12 WGET_URL="https://releases.pagure.org/$PACKAGE/$TARBALL" |
yuripourre@17815 | 13 |
Hans-G?nter@22158 | 14 DEPENDS="bash libxslt perl-test-pod perl-yaml-syck" |
Hans-G?nter@22158 | 15 BUILD_DEPENDS="docbook-xsl flex util-linux-getopt" |
yuripourre@17815 | 16 |
yuripourre@17815 | 17 # Rules to configure and make the package. |
yuripourre@17815 | 18 compile_rules() |
yuripourre@17815 | 19 { |
Hans-G?nter@22158 | 20 ./configure \ |
Hans-G?nter@22158 | 21 --prefix=/usr \ |
yuripourre@17815 | 22 $CONFIGURE_ARGS && |
yuripourre@17815 | 23 make && |
yuripourre@17815 | 24 make DESTDIR=$DESTDIR install |
al@18511 | 25 |
Hans-G?nter@22158 | 26 for file in $install/usr/share/xmlto/format/*/* |
Hans-G?nter@22158 | 27 do |
al@18511 | 28 sed -i "s|http://docbook.sourceforge.net/release/xsl/current/|\ |
Hans-G?nter@22158 | 29 /usr/share/xml/docbook/stylesheet/docbook-xsl/|" \ |
Hans-G?nter@22158 | 30 "$file" |
Hans-G?nter@22158 | 31 done |
yuripourre@17815 | 32 } |
yuripourre@17815 | 33 |
yuripourre@17815 | 34 genpkg_rules() |
yuripourre@17815 | 35 { |
al@18510 | 36 mkdir -p $fs/usr/share/xmlto |
Hans-G?nter@22158 | 37 |
Hans-G?nter@22158 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22158 | 39 cp -a $install/usr/share/xmlto/format $fs/usr/share/xmlto |
yuripourre@17815 | 40 } |