Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
 rules/aml.in   |  8 +++++++
 rules/aml.make | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 rules/aml.in
 create mode 100644 rules/aml.make

diff --git a/rules/aml.in b/rules/aml.in
new file mode 100644
index 000000000000..897028c61f72
--- /dev/null
+++ b/rules/aml.in
@@ -0,0 +1,8 @@
+## SECTION=system_libraries
+
+config AML
+       tristate
+       select HOST_MESON
+       prompt "aml"
+       help
+         Andri's Main Loop
diff --git a/rules/aml.make b/rules/aml.make
new file mode 100644
index 000000000000..f083fe29a5c3
--- /dev/null
+++ b/rules/aml.make
@@ -0,0 +1,57 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Marian Cichy <m.ci...@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_AML) += aml
+
+#
+# Paths and names
+#
+AML_VERSION    := 0.2.1
+AML_MD5                := 8416dc2bdcd4c8c56d5e246468a30c2d
+AML            := aml-$(AML_VERSION)
+AML_SUFFIX     := tar.gz
+AML_URL                := 
https://github.com/any1/aml/archive/refs/tags/v$(AML_VERSION).$(AML_SUFFIX)
+AML_SOURCE     := $(SRCDIR)/$(AML).$(AML_SUFFIX)
+AML_DIR                := $(BUILDDIR)/$(AML)
+AML_LICENSE    := ISC
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# meson
+#
+AML_CONF_TOOL  := meson
+AML_CONF_OPT   :=  \
+       $(CROSS_MESON_USR) \
+       -Dexamples=false
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/aml.targetinstall:
+       @$(call targetinfo)
+
+       @$(call install_init, aml)
+       @$(call install_fixup, aml,PRIORITY,optional)
+       @$(call install_fixup, aml,SECTION,base)
+       @$(call install_fixup, aml,AUTHOR,"Marian Cichy 
<m.ci...@pengutronix.de>")
+       @$(call install_fixup, aml,DESCRIPTION,missing)
+
+       @$(call install_lib, aml, 0, 0, 0644, libaml)
+
+       @$(call install_finish, aml)
+
+       @$(call touch)
+
+# vim: syntax=make
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to