void-packages/srcpkgs/libdvdread/template

27 lines
786 B
Bash

# Template file for 'libdvdread'
pkgname=libdvdread
version=6.0.1
revision=1
build_style=gnu-configure
configure_args="--with-libdvdcss"
hostmakedepends="pkgconf"
makedepends="libdvdcss-devel"
short_desc="DVD access library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.videolan.org/developers/libdvdnav.html"
distfiles="https://get.videolan.org/libdvdread/${version}/libdvdread-${version}.tar.bz2"
checksum=28ce4f0063883ca4d37dfd40a2f6685503d679bca7d88d58e04ee8112382d5bd
libdvdread-devel_package() {
depends="${sourcepkg}>=${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"
}
}