Annotation of /trunk/extras/xmlto/xmlto-0.0.28-r1.smage2
Parent Directory | Revision Log
Revision 27163 -
(hide annotations)
(download)
Mon Nov 30 14:34:50 2015 UTC (8 years, 9 months ago) by niro
File size: 935 byte(s)
Mon Nov 30 14:34:50 2015 UTC (8 years, 9 months ago) by niro
File size: 935 byte(s)
auto added: ver bump to 0.0.28-r1
1 | niro | 27163 | # $Id$ |
2 | |||
3 | PNAME="xmlto" | ||
4 | PVER="0.0.28" | ||
5 | PBUILD="r1" | ||
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-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 | } |