From 791200f22601515320a479945e92d07f5a8b21d3 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 03 Apr 2013 17:46:11 -0400 Subject: Use SPF 2.0, opkhelper 3.0, and multiarch libdirs. --- (limited to 'build') diff --git a/build b/build index 40deb9c..657151b 100755 --- a/build +++ b/build @@ -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 -- cgit v0.9.1