void-packages/srcpkgs/libdvdnav/template
2015-10-17 11:31:36 +02:00

26 lines
783 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@voidlinux.eu>"
license="GPL-2"
homepage="http://dvdnav.mplayerhq.hu/"
distfiles="http://download.videolan.org/pub/videolan/libdvdnav/${version}/libdvdnav-${version}.tar.bz2"
checksum=72b1cb8266f163d4a1481b92c7b6c53e6dc9274d2a6befb08ffc351fe7a4a2a9
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"
}
}