summaryrefslogtreecommitdiff
path: root/data/libswscale-dev/make.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-04-04 15:53:54 -1000
committerSam Bingner <sam@bingner.com>2019-04-09 23:20:41 -1000
commitd2ae0eca5e0c7b0e014e9274f554ab776020d537 (patch)
tree878bd5ef9a7ee2a4d83540061d8b5b59f067fcd9 /data/libswscale-dev/make.sh
parentbc22a1677d844ed517d781da667190f97b100ab7 (diff)
Complete standardization of ffmpeg libs
Diffstat (limited to 'data/libswscale-dev/make.sh')
-rw-r--r--data/libswscale-dev/make.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/libswscale-dev/make.sh b/data/libswscale-dev/make.sh
new file mode 100644
index 000000000..6c99766c8
--- /dev/null
+++ b/data/libswscale-dev/make.sh
@@ -0,0 +1,6 @@
+pkg: mkdir -p /usr/lib/pkgconfig /usr/include
+LIBNAME=${PKG_NAME%-dev}
+LIBNAME=${LIBNAME#lib}
+cp -a "$(PKG_DEST_ _ffmpeg)"/usr/lib/lib${LIBNAME}.dylib "${PKG_DEST}"/usr/lib/
+cp -a "$(PKG_DEST_ _ffmpeg)"/usr/lib/pkgconfig/lib${LIBNAME}.pc "${PKG_DEST}"/usr/lib/pkgconfig/
+cp -a "$(PKG_DEST_ _ffmpeg)"/usr/include/lib${LIBNAME} "${PKG_DEST}"/usr/include/