From 4615385d6c8203001962a7a31dd02cdb1a73544b Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 27 May 2022 18:34:26 +0100 Subject: added tor --- repo/devel/asciidoc/asciidoc.xibuild | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'repo/devel/asciidoc/asciidoc.xibuild') diff --git a/repo/devel/asciidoc/asciidoc.xibuild b/repo/devel/asciidoc/asciidoc.xibuild index 34202d0..cd8a239 100644 --- a/repo/devel/asciidoc/asciidoc.xibuild +++ b/repo/devel/asciidoc/asciidoc.xibuild @@ -3,13 +3,24 @@ MAKEDEPS="python " DEPS="python libxslt docbook-xsl" -PKG_VER=10.1.1 +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 () { - pip install -t $PKG_DEST/usr/lib/python3.10/site-packages/ asciidoc - mkdir -p $PKG_DEST/usr/bin - ln -s /usr/lib/python3.10/site-packages/bin/asciidoc $PKG_DEST/usr/bin/asciidoc - ln -s /usr/lib/python3.10/site-packages/bin/a2x $PKG_DEST/usr/bin/a2x + make DESTDIR="$PKG_DEST" install } + -- cgit v1.2.1