aboutsummaryrefslogtreecommitdiff
path: root/mkslackinfo
diff options
context:
space:
mode:
Diffstat (limited to 'mkslackinfo')
-rwxr-xr-xmkslackinfo21
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;