[4/5] meson: New package

Message ID 20181021193534.31718-4-stefan.schantl@ipfire.org
State Accepted
Headers
Series [1/5] python-setuputils: Update to 40.4.3 |

Commit Message

Stefan Schantl Oct. 22, 2018, 6:35 a.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 meson/meson.nm | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 meson/meson.nm
  

Patch

diff --git a/meson/meson.nm b/meson/meson.nm
new file mode 100644
index 000000000..208966a79
--- /dev/null
+++ b/meson/meson.nm
@@ -0,0 +1,52 @@ 
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = meson
+version    = 0.48.1
+release    = 1
+arch	   = noarch
+
+groups     = Applications/System
+url        = http://mesonbuild.com/
+license    = ASL 2.0
+summary    = High productivity build system
+
+description
+	Meson is a build system designed to optimize programmer
+	productivity. It aims to do this by providing simple, out-of-the-box
+	support for modern software development tools and practices, such as
+	unit tests, coverage reports, Valgrind, CCache and the like.
+end
+
+source_dl  = https://github.com/mesonbuild/meson/archive/%{version}/
+
+build
+	requires
+		bison
+		boost-devel
+		flex
+		gcc-c++
+		gettext
+		ninja-build >= 1.5
+		python3-devel >= 3.5
+		python3-setuptools
+	end
+
+	build
+		%{python3} setup.py build
+	end
+
+	install
+		%{python3} setup.py install -O1 --skip-build --root %{BUILDROOT}
+	end
+end
+
+packages
+	package %{name}
+		requires
+			python3-setuptools
+		end
+	end
+end