allencch

mingw-cross-env ncurses.mk

Mar 30th, 2012
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 1.00 KB | None | 0 0
  1. # This file is part of mingw-cross-env.
  2. # See doc/index.html for further information.
  3.  
  4. # ncurses
  5. PKG             := ncurses
  6. $(PKG)_IGNORE   :=
  7. $(PKG)_VERSION  := 5.9
  8. $(PKG)_CHECKSUM := 3e042e5f2c7223bffdaac9646a533b8c758b65b5
  9. $(PKG)_SUBDIR   := ncurses-$($(PKG)_VERSION)
  10. $(PKG)_FILE     := ncurses-$($(PKG)_VERSION).tar.gz
  11. $(PKG)_WEBSITE  := http://www.gnu.org/software/ncurses/
  12. $(PKG)_URL      := http://ftp.gnu.org/pub/gnu/ncurses/$($(PKG)_FILE)
  13. $(PKG)_DEPS     := gcc
  14.  
  15. define $(PKG)_UPDATE
  16.     wget -q -O- 'http://www.gnu.org/software/ncurses/' | \
  17.     $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
  18.     head -1
  19. endef
  20.  
  21. define $(PKG)_BUILD
  22.     cd '$(1)' && ./configure \
  23.         --host='$(TARGET)' \
  24.         --prefix=$(PREFIX)/$(TARGET) \
  25.         --disable-home-terminfo \
  26.         --enable-sp-funcs \
  27.         --enable-term-driver \
  28.         --enable-interop \
  29.         --without-debug \
  30.         --without-ada \
  31.         --without-manpages \
  32.         --enable-pc-files \
  33.         --with-normal \
  34.         --without-shared
  35.     $(MAKE) -C '$(1)' -j '$(JOBS)' install
  36. endef
Advertisement
Add Comment
Please, Sign In to add comment