void-packages/srcpkgs/libcdio/template
2016-10-27 16:02:15 +02:00

29 lines
747 B
Bash

# Template file for 'libcdio'
pkgname=libcdio
version=0.94
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="ncurses-devel libcddb-devel"
short_desc="CD-ROM access library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.gnu.org/software/libcdio/"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=96e2c903f866ae96f9f5b9048fa32db0921464a2286f5b586c0f02699710025a
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
}
}