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