image: freebsd/13.x
packages:
- - gmake
- - autotools
+ - coreutils
+ - meson
+ - pkgconf
- openssl
- lzo2
- liblz4
- miniupnpc
- readline
- texinfo
-
-environment:
- CFLAGS: -I/usr/local/include -L/usr/local/lib
+ - vde2
+ - libgcrypt
+ - cmocka
sources:
- https://github.com/gsliepen/tinc
tasks:
- configure: |
cd tinc
- autoreconf -fsi
- ./configure --with-miniupnpc
+ meson setup build -Dpkg_config_path=/usr/local/lib/pkgconfig
- build: |
cd tinc
- gmake -j$(sysctl -n hw.ncpu)
+ ninja -C build
- test: |
cd tinc
- gmake check-recursive VERBOSE=1
+ meson test -C build --verbose