diff options
author | B. Watson <yalhcru@gmail.com> | 2021-08-03 00:21:39 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-08-03 00:21:39 -0400 |
commit | d0452ca21a267561bc051015d524db9948c215b6 (patch) | |
tree | ad992318f380e2a090d40e11cc97e5344a9d7c1b /mkslackinfo | |
parent | 6180f30d3224ed1bbc10fab0a807fc08f53cbd9d (diff) | |
download | sbostuff-d0452ca21a267561bc051015d524db9948c215b6.tar.gz |
-current updates
Diffstat (limited to 'mkslackinfo')
-rwxr-xr-x | mkslackinfo | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mkslackinfo b/mkslackinfo index 41a2487..4c0effc 100755 --- a/mkslackinfo +++ b/mkslackinfo @@ -61,6 +61,24 @@ 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 ); my $cmd = $buildcmds{autoconf}; @@ -87,6 +105,9 @@ EOF } elsif(/\bMakefile\.PL$/) { $cmd = $buildcmds{perl}; last; + } elsif(/\bmeson\.build$/) { + $cmd = $buildcmds{meson}; + last; } } close $f; |