Signed-off-by: Bastian Krause <[email protected]> --- 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 <[email protected]> +# +# 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 [email protected]
