2013-07-28 06:40:17 +02:00
|
|
|
# Template build file for 'guile'.
|
|
|
|
pkgname=guile
|
2014-09-10 00:09:42 +02:00
|
|
|
version=2.0.11
|
2015-01-04 10:51:14 +01:00
|
|
|
revision=2
|
2013-07-28 06:40:17 +02:00
|
|
|
build_style=gnu-configure
|
2013-07-28 07:09:28 +02:00
|
|
|
configure_args="--disable-static --disable-error-on-warning"
|
2014-09-10 00:09:42 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2014-02-18 13:57:13 +01:00
|
|
|
makedepends="gmp-devel libltdl-devel libunistring-devel libffi-devel gc-devel ncurses-devel"
|
2013-07-28 06:40:17 +02:00
|
|
|
short_desc="A portable, embeddable Scheme implementation written in C"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-09-10 00:09:42 +02:00
|
|
|
license="GPL-3, LGPL-3"
|
2013-07-28 06:40:17 +02:00
|
|
|
homepage="http://www.gnu.org/software/${pkgname}"
|
|
|
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
2014-09-10 00:09:42 +02:00
|
|
|
checksum=e6786c934346fa2e38e46d8d81a622bb1c16d130153523f6129fcd79ef1fb040
|
|
|
|
nocross=yes # only works for same wordsize and endianess
|
2013-07-28 06:40:17 +02:00
|
|
|
|
2014-02-18 13:57:13 +01:00
|
|
|
libguile_package() {
|
|
|
|
short_desc+=" - runtime library"
|
2013-07-28 06:40:17 +02:00
|
|
|
pkg_install() {
|
2014-02-18 13:57:13 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-07-28 06:40:17 +02:00
|
|
|
}
|
|
|
|
}
|
2014-02-18 13:57:13 +01:00
|
|
|
guile-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="gmp-devel libguile>=${version}_${revision}"
|
2013-07-28 06:40:17 +02:00
|
|
|
pkg_install() {
|
2014-02-18 14:39:30 +01:00
|
|
|
vmove usr/bin/guile-config
|
2014-02-18 13:57:13 +01:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
2013-07-28 06:40:17 +02:00
|
|
|
}
|
|
|
|
}
|