kiss-mfavila-large/ports/fvwm3-git/build

23 lines
534 B
Plaintext
Raw Normal View History

2021-05-09 02:10:08 -04:00
#!/bin/sh -e
# Pull asciidoctor with the best tool available
if [ -x /bin/axel ]
2021-05-11 00:07:37 -04:00
then
axel --output=tmp.tgz https://github.com/asciidoctor/asciidoctor/archive/refs/tags/v2.0.14.tar.gz
else
curl --output tmp.tgz https://github.com/asciidoctor/asciidoctor/archive/refs/tags/v2.0.14.tar.gz
2021-05-09 02:10:08 -04:00
fi
2021-05-11 00:07:37 -04:00
2021-05-09 02:10:08 -04:00
# Unpack it and set its bindir into PATH for building FVWM docs
tar xf tmp.tgz
export PATH="$PWD/asciidoctor-2.0.14/bin/:$PATH"
./autogen.sh
2021-05-11 00:07:37 -04:00
./configure \
--prefix=/usr \
--enable-mandoc
2021-05-09 02:10:08 -04:00
make
make DESTDIR="$1" install