From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH 3/5] host-libpopt: new package
Date: Fri, 8 Feb 2019 10:12:17 +0100 [thread overview]
Message-ID: <20190208091219.1603-3-bst@pengutronix.de> (raw)
In-Reply-To: <20190208091219.1603-1-bst@pengutronix.de>
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
rules/host-libpopt.in | 16 ++++++++++++++++
rules/host-libpopt.make | 31 +++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
create mode 100644 rules/host-libpopt.in
create mode 100644 rules/host-libpopt.make
diff --git a/rules/host-libpopt.in b/rules/host-libpopt.in
new file mode 100644
index 000000000..03786145e
--- /dev/null
+++ b/rules/host-libpopt.in
@@ -0,0 +1,16 @@
+## SECTION=hosttools_noprompt
+
+config HOST_LIBPOPT
+ tristate
+ default y if ALLYES
+ help
+ lib for parsing cmdline parameters
+
+ Popt was heavily influenced by the getopt() and
+ getopt_long() functions, but it allows more powerful
+ argument expansion. It can parse arbitrary argv[] style
+ arrays and automatically set variables based on command line
+ arguments. It also allows command line arguments to be
+ aliased via configuration files and includes utility
+ functions for parsing arbitrary strings into argv[] arrays
+ using shell-like rules.
diff --git a/rules/host-libpopt.make b/rules/host-libpopt.make
new file mode 100644
index 000000000..bbac09ec9
--- /dev/null
+++ b/rules/host-libpopt.make
@@ -0,0 +1,31 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Bastian Krause <bst@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LIBPOPT) += host-libpopt
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_LIBPOPT_CONF_TOOL := autoconf
+HOST_LIBPOPT_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ $(GLOBAL_LARGE_FILE_OPTION) \
+ --disable-build-gcov \
+ --disable-nls \
+ --disable-rpath
+
+# vim: syntax=make
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2019-02-08 9:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-08 9:12 [ptxdist] [PATCH 1/5] cryptsetup: version bump 2.0.3 -> 2.0.6 Bastian Krause
2019-02-08 9:12 ` [ptxdist] [PATCH 2/5] host-json-c: new package Bastian Krause
2019-02-08 9:12 ` Bastian Krause [this message]
2019-02-08 9:12 ` [ptxdist] [PATCH 4/5] host-lvm2: " Bastian Krause
2019-02-08 9:12 ` [ptxdist] [PATCH 5/5] host-cryptsetup: " Bastian Krause
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190208091219.1603-3-bst@pengutronix.de \
--to=bst@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox