33 lines
903 B
Text
33 lines
903 B
Text
# Template file for 'libdvdnav'
|
|
pkgname=libdvdnav
|
|
version=4.2.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-dvdread-config=/bin/true"
|
|
hostmakedepends="libtool automake pkg-config"
|
|
makedepends="libdvdread-devel"
|
|
short_desc="Library to navigate DVDs"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://dvdnav.mplayerhq.hu/"
|
|
distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.xz"
|
|
checksum=7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372
|
|
|
|
CFLAGS+="-I${XBPS_CROSS_BASE}/usr/include"
|
|
LDFLAGS+="-L${XBPS_CROSS_BASE}/usr/lib -ldvdread"
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
libdvdnav-devel_package() {
|
|
depends="libdvdread-devel libdvdnav>=${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"
|
|
}
|
|
}
|