void-packages/srcpkgs/guile/template

35 lines
995 B
Text

# Template build file for 'guile'.
pkgname=guile
version=2.0.9
revision=6
build_style=gnu-configure
configure_args="--disable-static --disable-error-on-warning"
hostmakedepends="pkg-config texinfo"
makedepends="gmp-devel libltdl-devel libunistring-devel libffi-devel gc-devel ncurses-devel"
short_desc="A portable, embeddable Scheme implementation written in C"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL"
homepage="http://www.gnu.org/software/${pkgname}"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b24a112456702bf479395a1ac0b038fecafc8a252f6af798006312a7251315e7
replaces="guile-docs>=0"
libguile_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
guile-devel_package() {
short_desc+=" - development files"
depends="gmp-devel libguile>=${version}_${revision}"
pkg_install() {
vmove usr/bin/guile-config
vmove usr/include
vmove usr/share/aclocal
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}