summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-30 02:20:55 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-30 02:20:55 (EDT)
commitc2bb42efe77dc0b8c11197ab7ae2c912fd570665 (patch)
tree1b4b8e35582123707887f142145a2e566c2a8dcb /build
Initial commit.
Diffstat (limited to 'build')
-rwxr-xr-xbuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..b555d0e
--- /dev/null
+++ b/build
@@ -0,0 +1,19 @@
+#! /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} \
+ --disable-alsaconf && \
+ make && make DESTDIR=$$(pwd)/../dest install
+ oh-strip /usr/bin/* /usr/sbin/*
+ oh-installfiles $(PKGS)
+ oh-installdocs alsa-utils
+ oh-gencontrol $(PKGS)
+ oh-buildopk $(PKGS)
+ touch alsa-utils.buildstamp