summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild28
1 files changed, 28 insertions, 0 deletions
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