summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-13 22:49:18 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-13 22:49:18 (EDT)
commit9a3e02fc9ec4c4c0d55a9f46664df8924932fd22 (patch)
treeb9c6809fab195a58222f16a9b27a8a76e1b0f75f /build
parent78a3eac9fe81ee46a3c3b836e6354be139c4d97b (diff)
Update to SPF 2.0 and opkhelper 3.0.
And update my e-mail address.
Diffstat (limited to 'build')
-rwxr-xr-xbuild29
1 files changed, 12 insertions, 17 deletions
diff --git a/build b/build
index 5875c3f..f72aa28 100755
--- a/build
+++ b/build
@@ -1,19 +1,14 @@
-#! /usr/bin/make -f
+#!/usr/bin/make -f
-PKGS = alsa-utils
-
-$(PKGS): alsa-utils.buildstamp
-
-.SILENT: alsa-utils.buildstamp
-alsa-utils.buildstamp:
- cd src && \
- ./configure --prefix=/usr \
- --build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} \
+build:
+ oh-autoconfigure -- \
--disable-xmlto \
- --disable-alsaconf && \
- make && make DESTDIR=$$(pwd)/../dest install
- oh-installfiles $(PKGS)
- oh-installdocs alsa-utils
- oh-gencontrol $(PKGS)
- oh-buildopk $(PKGS)
- touch alsa-utils.buildstamp
+ --disable-alsaconf
+ oh-autobuild
+ touch $@
+
+install: build
+ oh-autoinstall
+ oh-fixperms
+ oh-strip
+ oh-installfiles