libdvdread: cross build support.
This commit is contained in:
parent
35c658b163
commit
10f949c418
1 changed files with 6 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libdvdread'
|
||||
pkgname=libdvdread
|
||||
version=4.2.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="libtool automake"
|
||||
short_desc="DVD access library"
|
||||
|
@ -10,27 +10,25 @@ license="GPL-2"
|
|||
homepage="http://dvdnav.mplayerhq.hu"
|
||||
distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.bz2"
|
||||
checksum=0bea15da842a4b04a482b009d72dcc6d9c9524ccc1bf67e5748319ec5ada8097
|
||||
long_desc="
|
||||
libdvdread is a library that provides an interface to make life
|
||||
for programs that access DVDs a little easier."
|
||||
|
||||
pre_configure() {
|
||||
./autogen.sh
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
libdvdread-devel_package() {
|
||||
depends="libdvdread>=${version}"
|
||||
short_desc+=" -- development files"
|
||||
depends="libdvdread>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/bin
|
||||
vmove usr/include
|
||||
vmove usr/share
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
libdvdread_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue