void-packages/srcpkgs/libburn/template

32 lines
847 B
Bash

# Template file for 'libburn'
pkgname=libburn
version=1.5.2
revision=1
wrksrc="${pkgname}-${version/.pl*/}"
build_style=gnu-configure
short_desc="Library for reading, mastering and writing optical discs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://scdbackup.sourceforge.net/cdrskin_eng.html"
distfiles="http://files.libburnia-project.org/releases/${pkgname}-${version}.tar.gz"
checksum=7b32db1719d7f6516cce82a9d00dfddfb3581725db732ea87d41ea8ef0ce5227
cdrskin_package() {
short_desc="Command line CD/DVD/BD writing tool"
pkg_install() {
vmove usr/bin
vmove usr/share
}
}
libburn-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}