]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
compat-guile: New package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 3 Oct 2013 11:50:05 +0000 (13:50 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 3 Oct 2013 15:19:54 +0000 (17:19 +0200)
This is a compat package for the guile 1.8 version.

compat-guile/compat-guile.nm [new file with mode: 0644]

diff --git a/compat-guile/compat-guile.nm b/compat-guile/compat-guile.nm
new file mode 100644 (file)
index 0000000..8bac023
--- /dev/null
@@ -0,0 +1,70 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = compat-guile
+version    = 1.8.8
+release    = 1
+thisapp    = guile-%{version}
+
+groups     = Development/Tools
+url        = http://www.gnu.org/software/guile/
+license    = GPLv2+ and LGPLv2+ and GFDL and OFSFDL
+summary    = A GNU implementation of Scheme for application extensibility.
+
+description
+       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.
+end
+
+source_dl  = ftp://ftp.gnu.org/gnu/guile/
+
+build
+       requires
+               gc-devel
+               gettext-devel
+               gmp-devel
+               libffi-devel >= 3.0.13
+               libtool-devel
+               libunistring-devel
+               readline-devel
+       end
+
+       configure_options += \
+               --disable-static \
+               --disable-error-on-warning
+
+       install_cmds
+               # Drop unneeded stuff.
+               rm -rvf %{BUILDROOT}%{bindir}
+               rm -rvf %{BUILDROOT}%{includedir}
+               rm -rvf %{BUILDROOT}%{libdir}/pkgconfig
+               rm -rvf %{BUILDROOT}%{libdir}/*.so
+               rm -rvf %{BUILDROOT}%{datadir}/aclocal
+               rm -rvf %{BUILDROOT}%{datadir}/info
+               rm -rvf %{BUILDROOT}%{datadir}/man
+       end
+end
+
+packages
+       package %{name}
+               provides
+                       guile = %{thisver}
+               end
+
+               obsoletes
+                       guile-compat <= %{thisver}
+               end
+
+               conflicts
+                       guile <= %{thisver}
+               end
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end