[Buildroot] [pkg-perl infra V3 10/12] libcurses-perl: new package

Francois Perrad fperrad at gmail.com
Sat Nov 23 09:25:47 UTC 2013


(depends on ncurses)

Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
---
 package/cpan/Config.in                        |    1 +
 package/cpan/libcurses-perl/Config.in         |    6 ++++++
 package/cpan/libcurses-perl/libcurses-perl.mk |   15 +++++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 package/cpan/libcurses-perl/Config.in
 create mode 100644 package/cpan/libcurses-perl/libcurses-perl.mk

diff --git a/package/cpan/Config.in b/package/cpan/Config.in
index e69de29..d344a0a 100644
--- a/package/cpan/Config.in
+++ b/package/cpan/Config.in
@@ -0,0 +1 @@
+source "package/cpan/libcurses-perl/Config.in"
diff --git a/package/cpan/libcurses-perl/Config.in b/package/cpan/libcurses-perl/Config.in
new file mode 100644
index 0000000..fdca059
--- /dev/null
+++ b/package/cpan/libcurses-perl/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBCURSES_PERL
+	bool "libcurses-perl"
+	select BR2_PACKAGE_NCURSES
+	help
+	  terminal screen handling and optimization
+
diff --git a/package/cpan/libcurses-perl/libcurses-perl.mk b/package/cpan/libcurses-perl/libcurses-perl.mk
new file mode 100644
index 0000000..81ba645
--- /dev/null
+++ b/package/cpan/libcurses-perl/libcurses-perl.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libcurses-perl
+#
+################################################################################
+
+LIBCURSES_PERL_VERSION = 1.28
+LIBCURSES_PERL_AUTHOR = GIRAFFED
+LIBCURSES_PERL_SOURCE = Curses-$(LIBCURSES_PERL_VERSION).tgz
+LIBCURSES_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GI/GIRAFFED/
+LIBCURSES_PERL_DEPENDENCIES = perl ncurses
+HOST_LIBCURSES_PERL_DEPENDENCIES = host-ncurses
+
+$(eval $(perl-package))
+$(eval $(host-perl-package))
-- 
1.7.9.5



More information about the buildroot mailing list