From d0452ca21a267561bc051015d524db9948c215b6 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 3 Aug 2021 00:21:39 -0400 Subject: -current updates --- mkslackinfo | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'mkslackinfo') diff --git a/mkslackinfo b/mkslackinfo index 41a2487..4c0effc 100755 --- a/mkslackinfo +++ b/mkslackinfo @@ -60,6 +60,24 @@ perl Makefile.PL \ make make test make install DESTDIR=$PKG +EOF + 'meson' => <<'EOF', +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. EOF ); @@ -87,6 +105,9 @@ EOF } elsif(/\bMakefile\.PL$/) { $cmd = $buildcmds{perl}; last; + } elsif(/\bmeson\.build$/) { + $cmd = $buildcmds{meson}; + last; } } close $f; -- cgit v1.2.3