summaryrefslogtreecommitdiff
path: root/manualPorts/guile/Pkgfile
blob: 28c84d4ed50542e71bb0fa8cc03715aee3611b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: Guile is an interpreter and compiler for the Scheme programming language.
# URL: http://www.gnu.org/software/guile/guile.html
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: boehm-gc libunistring libffi

name=guile
version=1.8.8
release=4
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

build() {
    cd $name-$version
    ./configure \
        --prefix=/usr \
        --mandir=/usr/share/man \
        --disable-nls
    sed -i -e 's/-Werror//g' libguile/Makefile
    sed -i -e 's/-Werror//g' libtool
    make
    make DESTDIR=$PKG install
    rm -rf $PKG/usr/share/info $PKG/usr/share/guile/1.8/scripts/summarize-guile-TODO
}