libmediainfo: fix pkg_install and configure_args

This commit is contained in:
Georg Schabel 2015-05-06 15:12:45 +02:00
parent efb7082456
commit 83468f80d2

View file

@ -14,7 +14,7 @@ checksum=40fe04c2f959537aef6769c89d1b7a1dca242810937f59352e84bc8d1ac3b7a9
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libmms-devel libcurl-devel libzen-devel"
configure_args="--prefix=/usr --enable-shared --disable-static
configure_args="--enable-shared --disable-static
--with-libcurl --with-libmms"
create_wrksrc=yes
build_wrksrc="MediaInfoLib/Project/GNU/Library"
@ -32,6 +32,7 @@ do_install() {
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
vlicense ${wrksrc}/MediaInfoLib/License.html
}
libmediainfo-devel_package() {
@ -40,5 +41,6 @@ libmediainfo-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}