X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=package%2Fdebian-mingw%2Frules;h=1ec3ceff62cc9396b80f9339ad3b429adc5e00af;hp=0c6362ad87b7326f307434a7070fb3fee50ef032;hb=aefc1659d732acf7e62c0c78a443d6d8352a3c6e;hpb=a0bb9c404174926bf131a5989a0524a6eecd09eb diff --git a/package/debian-mingw/rules b/package/debian-mingw/rules index 0c6362ad..1ec3ceff 100644 --- a/package/debian-mingw/rules +++ b/package/debian-mingw/rules @@ -17,6 +17,7 @@ CC_NORMAL = -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wconversion CC_STRICT = $(CC_NORMAL) -W -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wwrite-strings -ansi -pedantic TARGET = i686-w64-mingw32 +MINGW_BIN = /usr/bin MINGW_TOP = /usr/$(TARGET) MINGW_TMP = $(CURDIR)/debian/mingw32-ncurses6 @@ -40,6 +41,8 @@ CONFIG_OPTIONS = \ --enable-warnings \ --enable-widec \ --verbose \ + --with-chtype=uint32_t \ + --with-mmask_t=uint32_t \ --with-cxx-shared \ --with-develop \ --with-fallbacks=unknown,rxvt \ @@ -106,6 +109,13 @@ install-stamp: build-stamp $(MAKE) install.libs DESTDIR=$(MINGW_TMP) + mkdir -p $(MINGW_TMP)$(MINGW_BIN) + for name in $(MINGW_TMP)$(MINGW_TOP)/bin/*-config; \ + do \ + base=`basename $$name`; \ + ln -v $$name $(MINGW_TMP)$(MINGW_BIN)/$(TARGET)-$$base; \ + done + touch install-stamp # Build architecture-independent files here. @@ -117,7 +127,7 @@ binary-arch: build install dh_testdir dh_testroot dh_installchangelogs NEWS - dh_strip + # dh_strip dh_compress dh_fixperms dh_installdeb