diff --git a/srcpkgs/libmediainfo/template b/srcpkgs/libmediainfo/template index 1ec86a94168..f03f30bb080 100644 --- a/srcpkgs/libmediainfo/template +++ b/srcpkgs/libmediainfo/template @@ -1,5 +1,4 @@ # Template file for 'libmediainfo' -# vim: set ft=sh: pkgname=libmediainfo version=0.7.73 @@ -24,6 +23,17 @@ pre_configure() { autoreconf -fi } +do_install() { + make DESTDIR=${DESTDIR} install + for i in MediaInfo MediaInfoDLL; do + install -dm 755 ${DESTDIR}/usr/include/$i + install -m 644 ${wrksrc}/MediaInfoLib/Source/$i/*.h ${DESTDIR}/usr/include/$i + done + install -dm 755 ${DESTDIR}/usr/lib/pkgconfig + install -m 644 libmediainfo.pc ${DESTDIR}/usr/lib/pkgconfig + sed -i -e 's|Version: |Version: '$version'|g' ${DESTDIR}/usr/lib/pkgconfig/libmediainfo.pc +} + libmediainfo-devel_package() { depends="libmediainfo>=${version}_${revision}" short_desc+=" - development files"