libmediainfo: update do_install
This commit is contained in:
parent
83cccea4d0
commit
55d6bf75c6
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue