summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
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