void-packages/srcpkgs/libcdio/template

29 lines
750 B
Bash

# Template file for 'libcdio'
pkgname=libcdio
version=2.1.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="ncurses-devel libcddb-devel"
short_desc="CD-ROM access library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3"
homepage="http://www.gnu.org/software/libcdio/"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b
pre_configure() {
autoreconf -fi
}
libcdio-devel_package() {
depends="libcddb-devel libcdio>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}