#! /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 libtinfo.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 libtinfo.5 oh-gencontrol $(pkgs_wide) oh-buildopk $(pkgs_wide) touch ncursesw.buildstamp