summaryrefslogtreecommitdiff
path: root/data/_x264/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/_x264/make.sh')
-rw-r--r--data/_x264/make.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/_x264/make.sh b/data/_x264/make.sh
new file mode 100644
index 000000000..19266819f
--- /dev/null
+++ b/data/_x264/make.sh
@@ -0,0 +1,6 @@
+pkg:setup
+cp "${PKG_DATA}"/gas-preprocessor.pl .
+# Host requires perl.
+CC="${PKG_TARG}-gcc" AS="./gas-preprocessor.pl -arch $(echo ${PKG_TARG} | sed -e 's/-.*//') -- ${PKG_TARG}-gcc" pkg:configure --enable-shared --disable-lsmash --enable-strip --cross-prefix="${PKG_TARG}-" --system-libx264
+pkg:make
+pkg:install