summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-27 20:00:20 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-27 20:00:20 (EDT)
commit1de07295e86e859bbfd2100d2f4dbe39504a73ea (patch)
treeb788b363c1215254796e415f4182bc3c27814e12 /build
Initial commit.
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