summaryrefslogtreecommitdiff
path: root/data/libavdevice-dev/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/libavdevice-dev/make.sh')
-rw-r--r--data/libavdevice-dev/make.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/libavdevice-dev/make.sh b/data/libavdevice-dev/make.sh
new file mode 100644
index 000000000..6c99766c8
--- /dev/null
+++ b/data/libavdevice-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/