summaryrefslogtreecommitdiff
path: root/repo/asciidoc/asciidoc.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/asciidoc/asciidoc.xibuild')
-rw-r--r--repo/asciidoc/asciidoc.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/asciidoc/asciidoc.xibuild b/repo/asciidoc/asciidoc.xibuild
new file mode 100644
index 0000000..cd8a239
--- /dev/null
+++ b/repo/asciidoc/asciidoc.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+MAKEDEPS="python "
+DEPS="python libxslt docbook-xsl"
+
+PKG_VER=10.2.0
+SOURCE=https://github.com/asciidoc-py/asciidoc-py/releases/download/$PKG_VER/asciidoc-$PKG_VER.tar.gz
+DESC="Text document format for short documents, articles, books and UNIX man pages"
+
+prepare () {
+ autoreconf -fi
+}
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+package () {
+ make DESTDIR="$PKG_DEST" install
+}
+