void-packages/srcpkgs/libdvdnav/template

30 lines
874 B
Text
Raw Normal View History

# Template file for 'libdvdnav'
pkgname=libdvdnav
2014-11-24 09:21:32 +00:00
version=5.0.1
2014-09-18 19:45:40 +00:00
revision=1
build_style=gnu-configure
2013-12-18 14:24:19 +00:00
configure_args="--with-dvdread-config=/bin/true"
2014-11-24 09:21:32 +00:00
hostmakedepends="pkg-config"
makedepends="libdvdread-devel"
short_desc="Library to navigate DVDs"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-02-09 14:14:23 +00:00
license="GPL-2"
homepage="http://dvdnav.mplayerhq.hu/"
2014-11-24 09:21:32 +00:00
distfiles="http://download.videolan.org/pub/videolan/libdvdnav/${version}/libdvdnav-${version}.tar.bz2"
checksum=72b1cb8266f163d4a1481b92c7b6c53e6dc9274d2a6befb08ffc351fe7a4a2a9
2013-12-18 14:24:19 +00:00
CFLAGS+="-I${XBPS_CROSS_BASE}/usr/include"
LDFLAGS+="-L${XBPS_CROSS_BASE}/usr/lib -ldvdread"
libdvdnav-devel_package() {
2013-12-18 14:24:19 +00:00
depends="libdvdread-devel libdvdnav>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
2013-12-18 14:24:19 +00:00
vmove "usr/lib/*.so"
2014-11-24 09:21:32 +00:00
vmove "usr/lib/*.a"
}
}