summaryrefslogtreecommitdiffstats
path: root/build
blob: 6001ee495914a8da60502f5a96eaca5681882720 (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
#! /usr/bin/make -f

PKGS = libncurses.5 libncurses.5-dev libncurses-doc \
       libncursesw.5 libncursesw.5-dev \
       libtinfo.5 libtinfo-dev terminfo \
       ncurses-bin

$(PKGS): ncurses.buildstamp

.SILENT: ncurses.buildstamp
ncurses.buildstamp:
	cd src && \
		./configure --prefix=/usr \
		--build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} \
		--without-profile --without-debug --with-shared \
		--disable-termcap --with-termlib=tinfo --with-ticlib=tic \
		--enable-widec \
		--disable-maintainer-mode \
		--disable-python && \
		make && make DESTDIR=$$(pwd)/../dest install
	oh-installfiles $(PKGS)
	oh-installdocs libncurses.5
	oh-gencontrol $(PKGS)
	oh-buildopk $(PKGS)
	touch ncurses.buildstamp