smlinux/base/asciidoc/asciidoc.SMBuild

35 lines
713 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=asciidoc
version=10.2.1
build=1sml
homepage="https://github.com/asciidoc/asciidoc-py3"
download=""
desc="Text document format for writing notes and documentation"
requires="python3 libxslt docbook"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
autoreconf -vif
}
build() {
./configure \
--prefix=/usr
make
make install DESTDIR=$pkg
cp COPYRIGHT LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
02d064aab8dfb05af4ae49a7c7bd1381156c6c90f95b2494218c80f01c39987cb971d68c533b5519abade77be9832b3fab653d8ae2ca7bb682c5bb720612839f asciidoc-10.2.1.tar.gz
"