Magellan Linux

Contents of /smage/trunk/core/asciidoc/asciidoc-10.2.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17086 - (show annotations) (download)
Mon Oct 23 08:20:04 2023 UTC (7 months, 1 week ago) by niro
File size: 942 byte(s)
-fixed up2date
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 UP2SEPERATOR="\/"
32 UP2DATE="updatecmd https://github.com/asciidoc-py/asciidoc-py/tags | highesttarball gz"
33
34 src_prepare()
35 {
36 munpack ${SRCFILE} || die
37 cd ${SRCDIR}
38
39 mautoreconf || die
40 }
41
42 src_compile()
43 {
44 cd ${SRCDIR}
45 mconfigure --sysconfdir=/usr/share || die
46 mmake || die
47 }