diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 34 |
1 files changed, 22 insertions, 12 deletions
@@ -1,14 +1,24 @@ #! /usr/bin/make -f -libz.1: libz.1.buildstamp - -.SILENT: libz.1.buildstamp -libz.1.buildstamp: - cd src && ./configure --prefix=/usr && make && \ - make DESTDIR=$$(pwd)/../dest install - oh-strip -gl usr/lib/libz.so.1.2.6 - oh-installfiles libz.1 - oh-installdocs libz.1 - oh-gencontrol libz.1 - oh-buildopk libz.1 - touch zlib.buildstamp +nop: + @: + +configure: + cd src && ./configure \ + --prefix='/usr' --libdir='$${prefix}/lib/$(OPK_HOST_ARCH)' + touch $@ + +build: configure + oh-autobuild + touch $@ + +install: build + oh-autoinstall + oh-fixperms + oh-strip + oh-installfiles + +clean: + oh-autoclean + rm -f configure build + rm -Rf *.data |