diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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 |