]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - package/debian/rules
ncurses 5.9 - patch 20150117
[ncurses.git] / package / debian / rules
index 8949a94f57cd47247e427d5fa7568f14d3438da0..a8b6635a405c35653bc9b36d4d49f6e95227a28c 100644 (file)
@@ -16,6 +16,7 @@ CC_STRICT = $(CC_NORMAL) -W -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissi
 
 MY_DIR=/usr/local/ncurses6
 MYDATA=/usr/local/ncurses/share/terminfo
+BUILD_DIR=$(CURDIR)/debian/ncurses6
 
 CFLAGS = $(CC_NORMAL)
 
@@ -49,16 +50,23 @@ configure-stamp:
                --enable-ext-colors \
                --enable-ext-mouse \
                --enable-hard-tabs \
+               --enable-interop \
+               --enable-pc-files \
                --enable-rpath \
                --enable-sp-funcs \
                --enable-warnings \
                --enable-widec \
                --verbose \
+               --with-chtype=uint32_t \
+               --with-mmask_t=uint32_t \
                --with-develop \
+               --with-pc-suffix=6 \
                --with-shared \
                --with-termlib \
                --with-ticlib \
                --with-trace \
+               --with-cxx-shared \
+               --with-versioned-syms \
                --with-xterm-kbs=DEL \
                --without-ada \
                --without-debug \
@@ -91,7 +99,10 @@ install-stamp: build-stamp
        dh_clean -k
        dh_installdirs
 
-       $(MAKE) install.libs install.progs DESTDIR=$(CURDIR)/debian/ncurses6
+       $(MAKE) install.libs install.progs DESTDIR=$(BUILD_DIR)
+
+       ( cd test && make ncurses LOCAL_LIBDIR=$(MY_DIR)/lib )
+       mv test/ncurses $(BUILD_DIR)$(MY_DIR)/bin/ncurses6
 
        touch install-stamp