Add dirent.h
[tinc] / .builds / freebsd.yml
index 5afae0f..b7d0681 100644 (file)
@@ -1,17 +1,19 @@
 image: freebsd/13.x
 
 packages:
-  - gmake
-  - autotools
+  - coreutils
+  - meson
+  - pkgconf
   - openssl
   - lzo2
+  - liblz4
   - ncurses
   - miniupnpc
   - readline
   - texinfo
-
-environment:
-  CFLAGS: -I/usr/local/include -L/usr/local/lib
+  - vde2
+  - libgcrypt
+  - cmocka
 
 sources:
   - https://github.com/gsliepen/tinc
@@ -19,13 +21,12 @@ sources:
 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