diff --git a/programming/language/guile3/actions.py b/programming/language/guile3/actions.py new file mode 100644 index 0000000000..3cf758459c --- /dev/null +++ b/programming/language/guile3/actions.py @@ -0,0 +1,46 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import shelltools, autotools, pisitools, get + +i = ''.join([ + ' --enable-nls', + ' --enable-posix', + ' --enable-regex', + ' --with-threads', + ' --with-modules', + ' --disable-rpath', + ' --disable-static', + ' --enable-networking', + ' --program-suffix=3.0', + ' --disable-error-on-warning ' + ]) + +def setup(): + autotools.configure(i) + + # fix unused direct dependency analysis + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def check(): + autotools.make("check") + #pass + +def install(): + autotools.install() + + # remove scm file + pisitools.remove("/usr/lib/libguile-3.0.so.*.scm") + + # rename some info files to avoid conflicts + pisitools.remove("/usr/share/info/r5rs.info") + for t in shelltools.ls("%s/usr/share/info" % get.installDIR()): + pisitools.rename("/usr/share/info/%s" % t, t.replace("guile", "guile3")) + + pisitools.dodoc("AUTHORS", "NEWS", "THANKS") diff --git a/programming/language/guile3/pspec.xml b/programming/language/guile3/pspec.xml new file mode 100644 index 0000000000..ca1215211a --- /dev/null +++ b/programming/language/guile3/pspec.xml @@ -0,0 +1,78 @@ + + + + + guile3 + https://www.gnu.org/software/guile/ + + Pisi Linux Community + admins@pisilinux.org + + programming.language + GPL-3/LGPL-3 + app:console + library + programming.language + GNU Scheme interpreter and library + GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library implementation of the Scheme programming language, written in C. GUILE provides a machine-independent execution platform that can be linked in as a library during the building of extensible programs. + + https://ftp.gnu.org/gnu/guile/guile-3.0.9.tar.xz + + + gc-devel + gmp-devel + libffi-devel + gettext-devel + readline-devel + libunistring-devel + + + + + + + guile3 + GNU Scheme interpreter and library + + gc + gmp + libffi + readline + libunistring + + + /usr/bin + /usr/lib + /usr/lib/guile/3.0 + /usr/share + /usr/share/guile/3.0 + /usr/share/man/man1 + + + + + guile3-devel + + gc-devel + gmp-devel + guile3 + libunistring-devel + + + /usr/include/guile/3.0 + /usr/include/guile/3.0/libguile + /usr/lib/pkgconfig/guile-3.0.pc + /usr/share/aclocal + + + + + + 2023-03-25 + 3.0.9 + First 3.x build. + fury + uglyside@yandex.ru + + +