void-packages/srcpkgs/libdvdnav/template

34 lines
893 B
Plaintext
Raw Normal View History

# Template file for 'libdvdnav'
pkgname=libdvdnav
2012-02-09 14:14:23 +00:00
version=4.2.0
2013-12-18 14:24:19 +00:00
revision=3
build_style=gnu-configure
2013-12-18 14:24:19 +00:00
configure_args="--with-dvdread-config=/bin/true"
2013-04-16 08:26:21 +00:00
hostmakedepends="libtool automake"
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/"
distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.bz2"
2012-02-09 14:14:23 +00:00
checksum=8c971b08276c89ddcecd26fc44204460fd250dc57346f03476d3077188c47550
2013-12-18 14:24:19 +00:00
CFLAGS+="-I${XBPS_CROSS_BASE}/usr/include"
LDFLAGS+="-L${XBPS_CROSS_BASE}/usr/lib -ldvdread"
2012-02-09 14:14:23 +00:00
pre_configure() {
2013-12-18 14:24:19 +00:00
NOCONFIGURE=1 ./autogen.sh
}
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/bin
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
2013-12-18 14:24:19 +00:00
vmove "usr/lib/*.so"
}
}