Magellan Linux

Contents of /smage/branches/alx07x-stable/core/asciidoc/asciidoc-8.6.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14903 - (show annotations) (download)
Thu Aug 6 12:48:19 2020 UTC (3 years, 8 months ago) by niro
File size: 902 byte(s)
-release branches/alx07x-stable
1 # $Id$
2
3 PNAME="asciidoc"
4 PVER="8.6.10"
5 PBUILD="r1"
6
7 PCAT="app-text"
8
9 DESCRIPTION="A text document format for writing short documents, articles, books and UNIX man pages."
10 HOMEPAGE="https://www.methods.co.nz/asciidoc/"
11
12 DEPEND=">= dev-lang/python-2.7
13 >= dev-libs/libxslt-1.1.26
14 >= app-text/docbook-xsl-stylesheets-1.76
15 >= app-text/docbook-xml-dtd45-4.5
16 >= dev-libs/libxslt-dev-1.1.26"
17
18 SRCFILE="${PVER}.tar.gz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude python mbuild
22 msetfeature "!check"
23
24 SRC_URI=(
25 https://github.com/${PNAME}/${PNAME}/archive/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 UP2SEPERATOR="\/"
30 UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/releases | highesttarball gz"
31
32 src_prepare()
33 {
34 munpack ${SRCFILE} || die
35 cd ${SRCDIR}
36
37 # create configure scripts
38 mautoreconf || die
39 }
40
41 src_compile()
42 {
43 cd ${SRCDIR}
44 mconfigure --sysconfdir=/usr/share || die
45 mmake || die
46 }