buildroot/package/ncurses/ncurses.mk

40 lines
1.4 KiB
Makefile
Raw Normal View History

2002-05-23 21:21:23 +02:00
#############################################################
#
# ncurses
2008-03-06 19:19:15 +01:00
#
2002-05-23 21:21:23 +02:00
#############################################################
2008-03-06 19:19:15 +01:00
NCURSES_VERSION = 5.6
NCURSES_SITE = http://ftp.gnu.org/pub/gnu/ncurses
NCURSES_SOURCE = ncurses-$(NCURSES_VERSION).tar.gz
NCURSES_AUTORECONF = NO
NCURSES_INSTALL_STAGING = YES
NCURSES_INSTALL_TARGET = YES
2002-05-23 21:21:23 +02:00
2007-06-25 17:38:03 +02:00
ifneq ($(strip $(BR2_PACKAGE_NCURSES_TARGET_HEADERS)),y)
2008-03-06 19:19:15 +01:00
NCURSES_WANT_STATIC = --disable-static
2007-06-25 17:38:03 +02:00
endif
2008-03-06 19:19:15 +01:00
NCURSES_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(REAL_GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) --prefix=/usr \
--exec-prefix=/usr --bindir=/usr/bin \
--sbindir=/usr/sbin --libdir=/usr/lib \
--libexecdir=/usr/lib --sysconfdir=/etc \
--datadir=/usr/share --localstatedir=/var \
--includedir=/usr/include --mandir=/usr/man \
--infodir=/usr/info --with-terminfo-dirs=/usr/share/terminfo \
--with-default-terminfo-dir=/usr/share/terminfo \
--with-shared --without-cxx --without-cxx-binding \
--without-ada --without-progs --disable-big-core \
$(DISABLE_NLS) $(DISABLE_LARGEFILE) \
2003-08-19 08:37:00 +02:00
--without-profile --without-debug --disable-rpath \
--enable-echo --enable-const --enable-overwrite \
--enable-broken_linker \
2008-03-06 19:19:15 +01:00
$(NCURSES_WANT_STATIC)
2002-05-23 21:21:23 +02:00
2008-03-06 19:19:15 +01:00
NCURSES_MAKE_OPT = libs panel menu form headers
2008-03-06 19:19:15 +01:00
NCURSES_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
2004-10-09 21:26:10 +02:00
2008-03-06 19:19:15 +01:00
NCURSES_DEPENDENCIES = uclibc
2008-03-06 19:19:15 +01:00
$(eval $(call AUTOTARGETS,package,ncurses))