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

23 lines
534 B
Plaintext
Raw Normal View History

2021-05-09 06:10:08 +00:00
#!/bin/sh -e
# Pull asciidoctor with the best tool available
if [ -x /bin/axel ]
2021-05-11 04:07:37 +00: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 06:10:08 +00:00
fi
2021-05-11 04:07:37 +00:00
2021-05-09 06:10:08 +00: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 04:07:37 +00:00
./configure \
--prefix=/usr \
--enable-mandoc
2021-05-09 06:10:08 +00:00
make
make DESTDIR="$1" install