2013-07-28 04:40:17 +00:00
|
|
|
# Template build file for 'guile'.
|
|
|
|
pkgname=guile
|
|
|
|
version=2.0.9
|
2014-02-18 13:39:30 +00:00
|
|
|
revision=4
|
2013-07-28 04:40:17 +00:00
|
|
|
build_style=gnu-configure
|
2013-07-28 05:09:28 +00:00
|
|
|
configure_args="--disable-static --disable-error-on-warning"
|
2014-01-01 15:10:11 +00:00
|
|
|
hostmakedepends="pkg-config texinfo"
|
2014-02-18 12:57:13 +00:00
|
|
|
makedepends="gmp-devel libltdl-devel libunistring-devel libffi-devel gc-devel ncurses-devel"
|
2013-07-28 04:40:17 +00:00
|
|
|
short_desc="A portable, embeddable Scheme implementation written in C"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="GPL"
|
|
|
|
homepage="http://www.gnu.org/software/${pkgname}"
|
|
|
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=b24a112456702bf479395a1ac0b038fecafc8a252f6af798006312a7251315e7
|
|
|
|
|
2014-02-18 12:57:13 +00:00
|
|
|
replaces="guile-docs>=0"
|
|
|
|
|
|
|
|
libguile_package() {
|
|
|
|
short_desc+=" - runtime library"
|
2013-07-28 04:40:17 +00:00
|
|
|
pkg_install() {
|
2014-02-18 12:57:13 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-07-28 04:40:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-18 12:57:13 +00:00
|
|
|
guile-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="gmp-devel libguile>=${version}_${revision}"
|
2013-07-28 04:40:17 +00:00
|
|
|
pkg_install() {
|
2014-02-18 13:39:30 +00:00
|
|
|
vmove usr/bin/guile-config
|
2014-02-18 12:57:13 +00:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
2013-07-28 04:40:17 +00:00
|
|
|
}
|
|
|
|
}
|