void-packages/srcpkgs/guile/template

37 lines
1.0 KiB
Plaintext

# Template build file for 'guile'.
pkgname=guile
version=2.0.11
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-error-on-warning"
hostmakedepends="pkg-config"
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-3, LGPL-3"
homepage="http://www.gnu.org/software/${pkgname}"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=e6786c934346fa2e38e46d8d81a622bb1c16d130153523f6129fcd79ef1fb040
nocross=yes # only works for same wordsize and endianess
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"
}
}