summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-26 13:49:43 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-26 13:49:43 (EDT)
commitd23eadd0e64df6f68ecb07e5839d94b8427d6950 (patch)
treee5bf40a1e027c571774b326d42f57edc7d2b6c0a /build
Initial commit.
Diffstat (limited to 'build')
-rwxr-xr-xbuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..022d866
--- /dev/null
+++ b/build
@@ -0,0 +1,20 @@
+#! /usr/bin/make -f
+
+PKGS = libasound.2 libasound.2-dbg libasound.2-dev libasound.2-doc
+
+$(PKGS): libasound.buildstamp
+
+.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