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 \
|
2003-01-08 19:17:28 +01:00
|
|
|
--with-default-terminfo-dir=/usr/share/terminfo \
|
2003-01-17 09:03:59 +01:00
|
|
|
--with-shared --without-cxx --without-cxx-binding \
|
2007-01-30 18:47:03 +01:00
|
|
|
--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 \
|
2005-03-02 13:33:58 +01:00
|
|
|
--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
|
2003-01-08 03:29:25 +01:00
|
|
|
|
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
|
2003-01-08 03:29:25 +01:00
|
|
|
|
2008-03-06 19:19:15 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,ncurses))
|