diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2015-02-20 10:19:02 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-03-01 10:50:56 +0100 |
commit | 633fb6388896f7024b19f176e04fdbc06d99dd7a (patch) | |
tree | 8c5d25193268b1ac96f60c3d4330519d5733e2c3 /rules/libnewt.make | |
parent | a71518c2599d3784be728bdfc9042d94a59a0c6b (diff) | |
download | ptxdist-633fb6388896f7024b19f176e04fdbc06d99dd7a.tar.gz ptxdist-633fb6388896f7024b19f176e04fdbc06d99dd7a.tar.xz |
libnewt: windowing toolkit
Add new package required by the new NetworkManager for its 'nmtui' tool
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
[mol: add upstream fixes + autogen.sh]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libnewt.make')
-rw-r--r-- | rules/libnewt.make | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/rules/libnewt.make b/rules/libnewt.make new file mode 100644 index 000000000..b492ee3eb --- /dev/null +++ b/rules/libnewt.make @@ -0,0 +1,59 @@ +# -*-makefile-*- +# +# Copyright (C) 2015 by Juergen Borleis <jbe@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 +# +PACKAGES-$(PTXCONF_LIBNEWT) += libnewt + +# +# Paths and names +# +LIBNEWT_VERSION := 0.52.18 +LIBNEWT_MD5 := 685721bee1a318570704b19dcf31d268 +LIBNEWT := newt-$(LIBNEWT_VERSION) +LIBNEWT_SUFFIX := tar.gz +LIBNEWT_URL := https://fedorahosted.org/releases/n/e/newt/$(LIBNEWT).$(LIBNEWT_SUFFIX) +LIBNEWT_SOURCE := $(SRCDIR)/$(LIBNEWT).$(LIBNEWT_SUFFIX) +LIBNEWT_DIR := $(BUILDDIR)/$(LIBNEWT) +LIBNEWT_LICENSE := GPLv2 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBNEWT_CONF_TOOL := autoconf +LIBNEWT_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-nls \ + --without-python \ + --without-tcl \ + --without-gpm-support + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libnewt.targetinstall: + @$(call targetinfo) + + @$(call install_init, libnewt) + @$(call install_fixup, libnewt,PRIORITY,optional) + @$(call install_fixup, libnewt,SECTION,base) + @$(call install_fixup, libnewt,AUTHOR,"Juergen Borleis <jbe@pengutronix.de>") + @$(call install_fixup, libnewt,DESCRIPTION,"Not Eriks Windowing Toolkit") + + @$(call install_lib, libnewt, 0, 0, 0644, libnewt) + + @$(call install_finish, libnewt) + + @$(call touch) + +# vim: syntax=make |