meson: add new package

This adds a host as well as a target package.

meson.mk is provided to build packages using meson.

Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
Andre Heider
2019-11-01 08:14:25 +01:00
parent 5ead78be5a
commit d83cba79c1
4 changed files with 220 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
[binaries]
c = '@CC@'
cpp = '@CXX@'
ar = '@AR@'
strip = '@STRIP@'
nm = '@NM@'
ld = '@LD@'
pkgconfig = '@PKGCONFIG@'
[properties]
c_args = [@CFLAGS@]
c_link_args = [@LDFLAGS@]
cpp_args = [@CXXFLAGS@]
cpp_link_args = [@LDFLAGS@]
needs_exe_wrapper = true
[host_machine]
system = 'linux'
cpu_family = '@ARCH@'
cpu = '@CPU@'
endian = '@ENDIAN@'
[paths]
prefix = '/usr'
libdir = 'lib'
+15
View File
@@ -0,0 +1,15 @@
[binaries]
c = '@CC@'
cpp = '@CXX@'
pkgconfig = '@PKGCONFIG@'
[properties]
c_args = [@CFLAGS@]
c_link_args = [@LDFLAGS@]
cpp_args = [@CXXFLAGS@]
cpp_link_args = [@LDFLAGS@]
[paths]
prefix = '@PREFIX@'
sbindir = 'bin'
libdir = 'lib'