summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/build b/build
index aba9c0c..de36293 100755
--- a/build
+++ b/build
@@ -27,7 +27,7 @@ ncurses.buildstamp:
.SILENT: ncursesw.buildstamp
ncursesw.buildstamp:
cd src && \
- ./configure --prefix=/usr \
+ ./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 \
@@ -35,6 +35,9 @@ ncursesw.buildstamp:
--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)