summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-12-19 11:58:06 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-12-19 11:58:06 +0400
commit58babafd402840b01664991913841c2bb37589f9 (patch)
tree4bde171f1851cd6582687c3c168e3ab5dac42fc1
parentef30594a2aecad9dc66335a6f59352c56466cd3b (diff)
downloadcibs-pkgs-58babafd402840b01664991913841c2bb37589f9.tar.gz
NCurses with wide character support
-rw-r--r--ncurses/Makefile19
-rw-r--r--ncurses/ncursesw.p5m40
-rw-r--r--ncurses/ncursesw5.p5m15
3 files changed, 73 insertions, 1 deletions
diff --git a/ncurses/Makefile b/ncurses/Makefile
index 9acd2c0..bedc404 100644
--- a/ncurses/Makefile
+++ b/ncurses/Makefile
@@ -44,10 +44,27 @@ configure-env.32 = \
PKG_CONFIG_LIBDIR="$(libdir.32)/pkgconfig"
configure-options.32 = \
--without-manpages \
- --with-progs
+ --without-progs
+
+# We need only 32-bit libs:
+build-32-stamp: target = libs
+install-32-stamp: target = install.libs
configure-env.64 = \
PKG_CONFIG_LIBDIR="$(libdir.64)/pkgconfig"
configure-options.64 = \
--with-progs
+
+# Variant with wide-character support.
+# 64-bit only
+$(eval $(call add-variant,wide))
+%-wide-stamp: bits = 64
+configure-options.wide = \
+ --enable-widec \
+ --disable-overwrite \
+
+# We need only libs:
+build-wide-stamp: target = libs
+install-wide-stamp: target = install.libs
+
diff --git a/ncurses/ncursesw.p5m b/ncurses/ncursesw.p5m
new file mode 100644
index 0000000..8b968d9
--- /dev/null
+++ b/ncurses/ncursesw.p5m
@@ -0,0 +1,40 @@
+set name=pkg.fmri value=pkg:/library/ncursesw@$(ips-version)
+set name=pkg.summary value="$(summary) (wide character support)"
+set name=info.upstream-url value="$(home)"
+set name=info.source-url value="$(download)"
+
+license $(license-file) license="$(license)"
+
+depend fmri=pkg:/library/ncursesw5@$(ips-version) type=require
+depend fmri=pkg:/library/ncursesw5@$(ips-version) type=incorporate
+
+file path=usr/bin/ncursesw5-config facet.devel=true
+file path=usr/include/ncursesw/curses.h
+file path=usr/include/ncursesw/cursesapp.h
+file path=usr/include/ncursesw/cursesf.h
+file path=usr/include/ncursesw/cursesm.h
+file path=usr/include/ncursesw/cursesp.h
+file path=usr/include/ncursesw/cursesw.h
+file path=usr/include/ncursesw/cursslk.h
+file path=usr/include/ncursesw/eti.h
+file path=usr/include/ncursesw/etip.h
+file path=usr/include/ncursesw/form.h
+file path=usr/include/ncursesw/menu.h
+file path=usr/include/ncursesw/nc_tparm.h
+file path=usr/include/ncursesw/ncurses_dll.h
+file path=usr/include/ncursesw/panel.h
+file path=usr/include/ncursesw/term.h
+file path=usr/include/ncursesw/term_entry.h
+file path=usr/include/ncursesw/termcap.h
+file path=usr/include/ncursesw/tic.h
+file path=usr/include/ncursesw/unctrl.h
+file path=usr/lib/pkgconfig/formw.pc
+file path=usr/lib/pkgconfig/menuw.pc
+file path=usr/lib/pkgconfig/ncursesw.pc
+file path=usr/lib/pkgconfig/panelw.pc
+file path=usr/share/man/man1/ncurses5-config.1 facet.devel=true
+link path=usr/lib/$(mach64)/libcursesw.so target=libncursesw.so.5.9
+link path=usr/lib/$(mach64)/libformw.so target=libformw.so.5
+link path=usr/lib/$(mach64)/libmenuw.so target=libmenuw.so.5
+link path=usr/lib/$(mach64)/libncursesw.so target=libncursesw.so.5
+link path=usr/lib/$(mach64)/libpanelw.so target=libpanelw.so.5
diff --git a/ncurses/ncursesw5.p5m b/ncurses/ncursesw5.p5m
new file mode 100644
index 0000000..d974758
--- /dev/null
+++ b/ncurses/ncursesw5.p5m
@@ -0,0 +1,15 @@
+set name=pkg.fmri value=pkg:/library/ncursesw5@$(ips-version)
+set name=pkg.summary value="$(summary), shared libraries with wide character support"
+set name=info.upstream-url value="$(home)"
+set name=info.source-url value="$(download)"
+
+license $(license-file) license="$(license)"
+
+file path=usr/lib/$(mach64)/libformw.so.5.9
+file path=usr/lib/$(mach64)/libmenuw.so.5.9
+file path=usr/lib/$(mach64)/libncursesw.so.5.9
+file path=usr/lib/$(mach64)/libpanelw.so.5.9
+link path=usr/lib/$(mach64)/libformw.so.5 target=libformw.so.5.9
+link path=usr/lib/$(mach64)/libmenuw.so.5 target=libmenuw.so.5.9
+link path=usr/lib/$(mach64)/libncursesw.so.5 target=libncursesw.so.5.9
+link path=usr/lib/$(mach64)/libpanelw.so.5 target=libpanelw.so.5.9