blob: 89b8b9360d37ebaca2ffa36757081908520adbdd (
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
41
42
43
44
45
46
47
|
#!/usr/bin/make -f
build-ncurses:
oh-autoconfigure -B obj-ncurses -- \
--without-ada \
--without-tests \
--enable-pc-files \
--with-install-prefix="$${PWD}/dest" \
--with-shared \
--without-debug \
--without-profile \
--with-termlib=tinfo \
--with-ticlib=tic \
--disable-termcap \
--enable-symlinks \
--enable-const
oh-autobuild -B obj-ncurses
touch $@
build-ncursesw:
oh-autoconfigure -B obj-ncursesw -- \
--includedir=/usr/include/ncursesw \
--without-ada \
--without-manpages \
--without-progs \
--without-tests \
--enable-pc-files \
--with-install-prefix="$${PWD}/dest" \
--with-shared \
--without-debug \
--without-profile \
--without-termlib \
--without-ticlib \
--disable-termcap \
--enable-symlinks \
--enable-widec \
--enable-const
oh-autobuild -B obj-ncursesw
touch $@
build: build-ncurses build-ncursesw
install: build
(cd obj-ncurses && make install)
(cd obj-ncursesw && make install.libs)
mv dest/usr/lib/pkgconfig dest/usr/lib/$(OPK_HOST_ARCH)/pkgconfig
oh-installfiles
|