From a0b0a483c49beabb6d5f5fef67a7f4e359c0951c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 10 Jan 2021 10:05:51 -0500 Subject: Initial commit --- (limited to 'build') diff --git a/build b/build new file mode 100755 index 0000000..d1b61cf --- /dev/null +++ b/build @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +include ../source.mk + +curses_libs = ncursesw + +nop: + @: + +build: + set -e; for lib in $(curses_libs); do \ + oh-autoconfigure -B build_$${lib} -- \ + --enable-nls \ + --with-$(curses) \ + --disable-rpath-hack; \ + oh-autobuild -B build_$${lib}; \ + done + touch $@ + +install: build + set -e; for lib in $(curses_libs); do \ + oh-autoinstall -B build_$${lib}; \ + done + rm dest/usr/lib/$(OPK_HOST_ARCH)/libdialog.a + oh-fixperms + oh-strip + oh-installfiles + oh-shlibdeps -- cgit v0.9.1