diff options
-rwxr-xr-x | build | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |