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

include ../source.mk

curses_libs = ncursesw

nop:
	@:

build:
	set -e; for lib in $(curses_libs); do \
		oh-autoconfigure -B build_$${lib} -- \
			--enable-nls \
			--with-$(curses) \
			--disable-rpath-hack; \
		oh-autobuild -B build_$${lib}; \
	done
	touch $@

install: build
	set -e; for lib in $(curses_libs); do \
		oh-autoinstall -B build_$${lib}; \
	done
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libdialog.a
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps