Magellan Linux

Annotation of /branches/magellan-next/core/xmlto/xmlto-0.0.23-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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