summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-20 18:10:58 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-20 18:10:58 (EDT)
commitb979e6defd830777956514dd0df0fac81fbc4da2 (patch)
treef323b997289e5eeb08d30d3b68649039f0cf104b /build
Initial commit.HEADmaster
Diffstat (limited to 'build')
-rwxr-xr-xbuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..10d0163
--- /dev/null
+++ b/build
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+upstream_source_dir = flac
+# For 1.3.0 (from <https://www.xiph.org/downloads/>):
+source_md5sum = 13b5c214cee8373464d3d65dee362cdd
+
+include ../source.mk
+
+nop:
+ @:
+
+build:
+ oh-autoconfigure -- \
+ --disable-rpath \
+ --enable-static
+ oh-autobuild
+ if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
+ oh-autobuild -T check; \
+ fi
+ touch $@
+
+install: build
+ oh-autoinstall
+ rm dest/usr/lib/$(OPK_HOST_ARCH)/*.la
+ oh-fixperms
+ oh-strip
+ oh-installfiles