================================ guile:source=1.8.5-1 cvc rdiff guile -1 /weasel.rpath.org@wgl:3-devel/1.8.5-1 ================================ 1.8.5-1 Filip Brcic (brcha@xxxxxxx) Thu Jan 28 19:54:14 2010 guile 1.8.5 guile-1.8.5.tar.gz: new guile.recipe: new --- /dev/null +++ guile.recipe @@ -0,0 +66 @@ +# +# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx> +# Distributed under the terms of the GNU General Public License v3 +# + +class Guile(AutoPackageRecipe): + name = 'guile' + version = '1.8.5' + + buildRequires = [ + 'autoconf:runtime', 'automake:runtime', 'gcc-fortran:runtime', + 'gettext:runtime', 'gmp:devel', 'install-info:runtime', + 'libtool:devel', 'libtool:runtime', 'ncurses:devel', + 'readline:devel', 'texinfo:runtime', + ] + + shortDesc = 'Scheme interpreter' + longDesc = """ +Guile is a library designed to help programmers create flexible +applications. Using Guile in an application allows programmers to +write plug-ins, or modules (there are many names, but the concept is +essentially the same) and users to use them to have an application fit +their needs. +""" + url = 'http://www.gnu.org/software/guile/' + licenses = [ 'LGPL-2.1' ] + categories = [ 'Development/Languages' ] + + def unpack(r): + r.addArchive('mirror://gnu/guile/') + + r.Replace('AC_CONFIG_MACRO_DIR\(\[m4\]\)', + 'AC_CONFIG_MACRO_DIR([guile-config])', + 'configure.in') + + r.Autoreconf(m4Dir='guile-config') + + def configure(r): + r.Configure( + ' --disable-error-on-warning' + ' --disable-static' + ' --enable-posix' + ' --enable-networking' + ' --enable-regex' + ' --enable-elisp' + ' --enable-nls' + ' --disable-rpath' + ' --with-threads' + ' --with-modules' + ' EMACS=no' + ) + + def makeinstall(r): + r.MakePathsInstall() + + r.Doc('AUTHORS', 'ChangeLog', 'GUILE-VERSION', 'HACKING', + 'NEWS', 'README', 'THANKS') + + r.macros.majorminor = '.'.join(r.version.split('.')[:-1]) + r.Create('%(sysconfdir)s/profile.d/50-guile.sh', mode=0755, + contents=""" +export GUILE_LOAD_PATH=%(datadir)s/guile/%(majorminor)s +""") + + r.MakeDirs('%(datadir)s/guile/site') + r.ExcludeDirectories(exceptions='%(datadir)s/guile/site') Committed by: brcha