summaryrefslogtreecommitdiff
path: root/manualPorts/guile/Pkgfile
blob: 713330845fdbcecdd40f81d56a488a5a3a84eccd (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=2.2.7
release=1
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
}