milis/talimatname/genel/guile/talimat

43 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-03-24 14:14:12 +01:00
# Description: Guile, Scheme programlama dili için bir yorumlayıcı ve derleyicidir.
2017-01-31 01:37:09 +01:00
# URL: http://www.gnu.org/software/guile/guile.html
# Packager: milisarge
# Depends on: gc libunistring libffi emacs gdb
2016-02-24 01:27:23 +01:00
name=guile
version=2.0.11
release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
cd $name-$version
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
./configure \
--prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/guile-2.0.11
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
make
make html
2017-01-31 01:37:09 +01:00
makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi
2016-02-24 01:27:23 +01:00
makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
make DESTDIR=$PKG install
2017-01-31 01:37:09 +01:00
make install-html
2016-02-24 01:27:23 +01:00
install -v -m755 -d $PKG/usr/share/gdb/auto-load/usr/lib
mv $PKG/usr/lib/libguile-*-gdb.scm $PKG/usr/share/gdb/auto-load/usr/lib
install -v -m755 -d $PKG/usr/share/doc/guile-2.0.11
2017-01-31 01:37:09 +01:00
find examples -name "Makefile*" -delete
2016-02-24 01:27:23 +01:00
cp -vR examples $PKG/usr/share/doc/guile-2.0.11
for DIRNAME in r5rs ref; do
install -v -m755 -d $PKG/usr/share/doc/guile-2.0.11/${DIRNAME}
install -v -m644 doc/${DIRNAME}/*.txt \
$PKG/usr/share/doc/guile-2.0.11/${DIRNAME}
done
2017-01-31 01:37:09 +01:00
unset DIRNAME
2016-02-24 01:27:23 +01:00
}