| 1 |
# SPDX-License-Identifier: 0BSD |
| 2 |
image: openbsd/latest |
| 3 |
packages: |
| 4 |
- gmake |
| 5 |
- libtool |
| 6 |
tasks: |
| 7 |
- prep-autohell: | |
| 8 |
doas pkg_add $(doas pkg_add autoconf 2>&1 | grep -o 'autoconf-[0-9a-z.]*' | sort -rV | { read -r pkg; echo $pkg; }) \ |
| 9 |
$(doas pkg_add automake 2>&1 | grep -o 'automake-[0-9a-z.]*' | sort -rV | { read -r pkg; echo $pkg; }) |
| 10 |
printf 'export %s_VERSION=%s\n' AUTOCONF "$(printf '%s\n' /usr/local/bin/autoreconf-* | sort -rV | { IFS=- read -r _ v; echo $v; })" \ |
| 11 |
AUTOMAKE "$(printf '%s\n' /usr/local/bin/automake-* | sort -rV | { IFS=- read -r _ v; echo $v; })" >> .buildenv |
| 12 |
- build: | |
| 13 |
cd ossp-uuid |
| 14 |
autoreconf-$AUTOCONF_VERSION -fi |
| 15 |
./configure --with-cxx --with-dce --with-perl --with-perl-compat --with-libname=libgaming |
| 16 |
make |
| 17 |
make check |
| 18 |
doas make install |