diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 73 |
1 files changed, 32 insertions, 41 deletions
@@ -1,45 +1,36 @@ -#! /usr/bin/make -f +#!/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 +build-ncurses: + oh-autoconfigure -B obj-ncurses -- \ + --without-profile \ + --without-debug \ + --without-ada \ + --with-shared \ + --disable-termcap \ + --with-termlib=tinfo \ + --with-ticlib=tic \ + --disable-python + oh-autobuild -B obj-ncurses + touch $@ -$(pkgs_normal): ncurses.buildstamp -$(pkgs_wide): ncursesw.buildstamp +build-ncursesw: + oh-autoconfigure -B obj-ncursesw -- \ + --includedir=/usr/include/ncursesw \ + --without-profile \ + --without-debug \ + --without-ada \ + --with-shared \ + --disable-termcap \ + --without-termlib \ + --without-ticlib \ + --enable-widec \ + --disable-python + oh-autobuild -B obj-ncursesw + touch $@ -.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 +build: build-ncurses build-ncursesw -.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 +install: build + oh-autoinstall -B obj-ncurses + oh-autoinstall -B obj-ncursesw + oh-installfiles |