From 78b87d879c5f8a223e36dbfb140a09ca021223f5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 03 Aug 2013 18:15:48 -0400 Subject: Use SPF 2.0 and opkhelper 3.0. --- (limited to 'build') diff --git a/build b/build index 3f1bb42..39de86c 100755 --- a/build +++ b/build @@ -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 -- cgit v0.9.1