Contents of /smage/trunk/core/xmlto/xmlto-0.0.28-r3.smage2
Parent Directory | Revision Log
Revision 14064 -
(show annotations)
(download)
Fri Jul 3 08:19:30 2020 UTC (4 years, 2 months ago) by niro
File size: 940 byte(s)
Fri Jul 3 08:19:30 2020 UTC (4 years, 2 months ago) by niro
File size: 940 byte(s)
auto added: ver bump to 0.0.28-r3
1 | # $Id$ |
2 | |
3 | PNAME="xmlto" |
4 | PVER="0.0.28" |
5 | PBUILD="r3" |
6 | |
7 | PCAT="app-text" |
8 | |
9 | DESCRIPTION="A bash script for converting XML and DocBook formatted documents to a variety of output formats." |
10 | HOMEPAGE="https://fedorahosted.org/xmlto" |
11 | |
12 | DEPEND=">= dev-libs/libxslt-dev-1.1.26 |
13 | >= app-text/docbook-xsl-stylesheets-1.75 |
14 | >= app-text/docbook-xml-dtd45-4.5 |
15 | >= app-shells/bash-4 |
16 | >= sys-apps/coreutils-8" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude mbuild mtools |
22 | |
23 | SRC_URI=( |
24 | #https://fedorahosted.org/releases/x/m/xmlto/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd https://fedorahosted.org/releases/x/m/xmlto/ | lasttarball" |
29 | |
30 | src_install() |
31 | { |
32 | cd ${SRCDIR} |
33 | |
34 | mmake DESTDIR=${BINDIR} prefix=/usr install || die |
35 | minstalldocs AUTHORS ChangeLog FAQ NEWS README || die |
36 | |
37 | # xml doc |
38 | minstalldir /usr/share/doc/${PNAME}-${PVER}/xml || die |
39 | minstallfile doc/\*.xml /usr/share/doc/${PNAME}-${PVER}/xml || die |
40 | } |