blob: de36293d57e262e9fcff4d1977f3292ddf61cfc5 (
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
|
#! /usr/bin/make -f
pkgs_normal = libncurses.5 libncurses.5-dev libncurses-doc \
libtinfo.5 libtinfo-dev terminfo \
ncurses-bin
pkgs_wide = libncursesw.5 libncursesw.5-dev
$(pkgs_normal): ncurses.buildstamp
$(pkgs_wide): ncursesw.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 --without-ada --with-shared \
--disable-termcap --with-termlib=tinfo --with-ticlib=tic \
--disable-maintainer-mode \
--disable-python && \
make && make DESTDIR=$$(pwd)/../dest install
oh-installfiles $(pkgs_normal)
oh-installdocs libncurses.5
oh-gencontrol $(pkgs_normal)
oh-buildopk $(pkgs_normal)
touch ncurses.buildstamp
.SILENT: ncursesw.buildstamp
ncursesw.buildstamp:
cd src && \
./configure --prefix=/usr --includedir=/usr/include/ncursesw \
--build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} \
--without-profile --without-debug --without-ada --with-shared \
--disable-termcap --without-termlib --without-ticlib \
--enable-widec \
--disable-maintainer-mode \
--disable-python && \
make && make DESTDIR=$$(pwd)/../dest install
cd dest && \
rm -Rf usr/bin usr/man usr/share && \
rm -Rf usr/lib/terminfo
oh-installfiles $(pkgs_wide)
oh-installdocs libncurses.5
oh-gencontrol $(pkgs_wide)
oh-buildopk $(pkgs_wide)
touch ncursesw.buildstamp
|