void-packages/srcpkgs/libdvdnav/template
2014-11-24 10:21:32 +01:00

29 lines
874 B
Bash

# Template file for 'libdvdnav'
pkgname=libdvdnav
version=5.0.1
revision=1
build_style=gnu-configure
configure_args="--with-dvdread-config=/bin/true"
hostmakedepends="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://download.videolan.org/pub/videolan/libdvdnav/${version}/libdvdnav-${version}.tar.bz2"
checksum=72b1cb8266f163d4a1481b92c7b6c53e6dc9274d2a6befb08ffc351fe7a4a2a9
CFLAGS+="-I${XBPS_CROSS_BASE}/usr/include"
LDFLAGS+="-L${XBPS_CROSS_BASE}/usr/lib -ldvdread"
libdvdnav-devel_package() {
depends="libdvdread-devel libdvdnav>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}