summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-20 01:51:01 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-20 01:51:01 (EDT)
commit2f6a6df71fdc491fa7ef1aab95a5348fda99c798 (patch)
tree5d5aa9e32ddbedf7feb20c7454c6d861d7433836 /build
Initial commit.
Diffstat (limited to 'build')
-rwxr-xr-xbuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..29d520a
--- /dev/null
+++ b/build
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+upstream_source_dir = vorbis
+# For 1.3.4 (from <https://www.xiph.org/downloads/>):
+source_md5sum = 55f2288055e44754275a17c9a2497391
+
+include ../source.mk
+
+nop:
+ @:
+
+build:
+ oh-autoconfigure -- \
+ --enable-static \
+ --with-pic
+ oh-autobuild
+ if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
+ oh-autotest; \
+ fi
+ touch $@
+
+install: build
+ oh-autoinstall
+ oh-fixperms
+ oh-strip
+ oh-installfiles