Magellan Linux

Contents of /trunk/extras/asciidoc/asciidoc-10.2.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33523 - (show annotations) (download)
Fri Jul 28 10:11:49 2023 UTC (10 months, 1 week ago) by niro
File size: 938 byte(s)
-ver bump to 10.2.0-r1
1 # $Id$
2
3 PNAME="asciidoc"
4 PVER="10.2.0"
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="http://sourceforge.net/projects/asciidoc/"
11
12 DEPEND=">= dev-lang/python3-3.11
13 >= dev-libs/libxslt-1.1.26
14 >= app-text/docbook-xsl-stylesheets-1.76
15 >= app-text/docbook-xml-dtd45-4.5"
16
17 SDEPEND=">= sys-dev/autoconf-4
18 >= sys-dev/automake-3"
19
20 SRCFILE="${PNAME}-${PVER}.tar.gz"
21 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22
23 sminclude python3 mbuild
24 msetfeature "!check"
25
26 SRC_URI=(
27 https://github.com/asciidoc-py/asciidoc-py/releases/download/${PVER}/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd https://github.com/asciidoc-py/asciidoc-py/releases/download/ | highesttarball gz"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 mautoreconf || die
39 }
40
41 src_compile()
42 {
43 cd ${SRCDIR}
44 mconfigure --sysconfdir=/usr/share || die
45 mmake || die
46 }