summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-13 02:48:13 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-13 02:48:13 (EDT)
commitbfc1a4e777bb948f07328753d6fadfdedb37a6eb (patch)
tree0f3992ed67e791916f180cc67b6fdfcfbc3f1afd /build
parent773c7b1af7f80fe81a6018157b3f4a34156cb59a (diff)
build: Update to SPF 2.0.
Diffstat (limited to 'build')
-rwxr-xr-xbuild30
1 files changed, 13 insertions, 17 deletions
diff --git a/build b/build
index 7fc5da5..82e07d8 100755
--- a/build
+++ b/build
@@ -1,20 +1,16 @@
-#! /usr/bin/make -f
+#!/usr/bin/make -f
-PKGS = libasound.2 libasound.2-dbg libasound.2-dev
+nop:
+ @:
-$(PKGS): libasound.buildstamp
+build:
+ oh-autoconfigure -- \
+ --disable-python
+ oh-autobuild
+ touch $@
-.SILENT: libasound.buildstamp
-libasound.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-strip -gl /usr/lib/libasound.so.2.0.0
- oh-installfiles $(PKGS)
- oh-installdocs libasound.2
- oh-gencontrol $(PKGS)
- oh-buildopk $(PKGS)
- touch libasound.buildstamp
+install: build
+ oh-autoinstall
+ oh-fixperms
+ oh-strip -k
+ oh-installfiles