summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..199695e
--- /dev/null
+++ b/build
@@ -0,0 +1,22 @@
+#! /usr/bin/make -f
+
+PKGS = libncurses.5 libncurses.5-dev libncurses-doc \
+ libncursesw.5 libncursesw.5-dev \
+ libtinfo.5 libtinfo-dev terminfo \
+ ncurses-bin
+
+$(PKGS): ncurses.buildstamp
+
+.SILENT: ncurses.buildstamp
+ncurses.buildstamp:
+ cd src && \
+ ./configure --prefix=/usr \
+ --build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} \
+ --disable-maintainer-mode \
+ --disable-python && \
+ make && make DESTDIR=$$(pwd)/../dest install
+ oh-installfiles $(PKGS)
+ oh-installdocs libncurses.5
+ oh-gencontrol $(PKGS)
+ oh-buildopk $(PKGS)
+ touch ncurses.buildstamp