[vlc-commits] contrib: add ncurses

Rafaël Carré git at videolan.org
Mon Nov 7 06:13:29 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Nov  7 00:13:11 2011 -0500| [07bf0ae8afc9d12ce45aba5e591952cc79d3b556] | committer: Rafaël Carré

contrib: add ncurses

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=07bf0ae8afc9d12ce45aba5e591952cc79d3b556
---

 contrib/src/ncurses/SHA512SUMS |    1 +
 contrib/src/ncurses/rules.mak  |   25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/contrib/src/ncurses/SHA512SUMS b/contrib/src/ncurses/SHA512SUMS
new file mode 100644
index 0000000..9a470e0
--- /dev/null
+++ b/contrib/src/ncurses/SHA512SUMS
@@ -0,0 +1 @@
+d7c5e54b6d4d8b9211f0006ca8786f7609d180cc1aaebf4f25e7e35e12959779cf66447359a602daed625621ca32b0d910d67aef3eb8b6fdc3c373819a88faa1  ncurses-5.9.tar.gz
diff --git a/contrib/src/ncurses/rules.mak b/contrib/src/ncurses/rules.mak
new file mode 100644
index 0000000..ce324fe
--- /dev/null
+++ b/contrib/src/ncurses/rules.mak
@@ -0,0 +1,25 @@
+# ncurses
+
+NCURSES_VERSION := 5.9
+NCURSES_URL := $(GNU)/ncurses/ncurses-$(NCURSES_VERSION).tar.gz
+
+PKGS += ncurses
+
+ifeq ($(call need_pkg,"ncursesw"),)
+PKGS_FOUND += ncurses
+endif
+
+$(TARBALLS)/ncurses-$(NCURSES_VERSION).tar.gz:
+	$(call download,$(NCURSES_URL))
+
+.sum-ncurses: ncurses-$(NCURSES_VERSION).tar.gz
+
+ncurses: ncurses-$(NCURSES_VERSION).tar.gz .sum-ncurses
+	$(UNPACK)
+	$(MOVE)
+
+.ncurses: ncurses
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-debug --enable-widec --without-develop --without-shared --with-terminfo-dirs=/usr/share/terminfo
+	cd $</ncurses && make && make install
+	cd $</include && make && make install
+	touch $@



More information about the vlc-commits mailing list