diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-04-28 04:16:07 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-04-28 04:16:07 (GMT) |
commit | 5e4a57a4e8921ff0a374756f5340d1234f8d66d4 (patch) | |
tree | 34435ca26ceca2e2ae0def90230048d3aee732ba /src/ncurses.mk | |
parent | 523f4abf6b9a2a5aa60d88549083462e64b82661 (diff) | |
download | mxe-5e4a57a4e8921ff0a374756f5340d1234f8d66d4.zip mxe-5e4a57a4e8921ff0a374756f5340d1234f8d66d4.tar.gz mxe-5e4a57a4e8921ff0a374756f5340d1234f8d66d4.tar.bz2 |
package ncurses: build native terminfo compiler
Diffstat (limited to 'src/ncurses.mk')
-rw-r--r-- | src/ncurses.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ncurses.mk b/src/ncurses.mk index 8e6ea16..8c2acc4 100644 --- a/src/ncurses.mk +++ b/src/ncurses.mk @@ -17,6 +17,12 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD + # native build of terminfo compiler + cp -Rp '$(1)' '$(1).native' + cd '$(1).native' && ./configure + $(MAKE) -C '$(1).native/include' -j '$(JOBS)' + $(MAKE) -C '$(1).native/progs' -j '$(JOBS)' tic + cd '$(1)' && ./configure \ --host='$(TARGET)' \ --build="`config.guess`" \ @@ -31,5 +37,6 @@ define $(PKG)_BUILD --enable-pc-files \ --with-normal \ --without-shared - $(MAKE) -C '$(1)' -j '$(JOBS)' install + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install TIC_PATH='$(1).native/progs/tic' endef |