blob: 4624f47d45308aa9e00221b7b4f5dc1ce713da31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#############################################################
#
# ncurses
#
#############################################################
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
ifneq ($(strip $(BR2_PACKAGE_NCURSES_TARGET_HEADERS)),y)
NCURSES_WANT_STATIC = --disable-static
endif
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) \
--without-profile --without-debug --disable-rpath \
--enable-echo --enable-const --enable-overwrite \
--enable-broken_linker \
$(NCURSES_WANT_STATIC)
NCURSES_MAKE_OPT = libs panel menu form headers
NCURSES_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
NCURSES_DEPENDENCIES = uclibc
$(eval $(call AUTOTARGETS,package,ncurses))
|