summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild37
1 files changed, 27 insertions, 10 deletions
diff --git a/build b/build
index 6001ee4..aba9c0c 100755
--- a/build
+++ b/build
@@ -1,25 +1,42 @@
#! /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_normal = libncurses.5 libncurses.5-dev libncurses-doc \
+ libtinfo.5 libtinfo-dev terminfo \
+ ncurses-bin
+pkgs_wide = libncursesw.5 libncursesw.5-dev
-$(PKGS): ncurses.buildstamp
+$(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 --with-shared \
+ --without-profile --without-debug --without-ada --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-installfiles $(pkgs_normal)
oh-installdocs libncurses.5
- oh-gencontrol $(PKGS)
- oh-buildopk $(PKGS)
+ oh-gencontrol $(pkgs_normal)
+ oh-buildopk $(pkgs_normal)
touch ncurses.buildstamp
+
+.SILENT: ncursesw.buildstamp
+ncursesw.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 --without-termlib --without-ticlib \
+ --enable-widec \
+ --disable-maintainer-mode \
+ --disable-python && \
+ make && make DESTDIR=$$(pwd)/../dest install
+ oh-installfiles $(pkgs_wide)
+ oh-installdocs libncurses.5
+ oh-gencontrol $(pkgs_wide)
+ oh-buildopk $(pkgs_wide)
+ touch ncursesw.buildstamp