]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - guile/guile.nm
guile: Add compat package (version 1.8.8).
[people/ms/ipfire-3.x.git] / guile / guile.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = guile
7 version = 2.0.9
8 release = 2
9
10 compat_ver = 1.8.8
11
12 groups = Development/Tools
13 url = http://www.gnu.org/software/guile/
14 license = GPLv2+ and LGPLv2+ and GFDL and OFSFDL
15 summary = A GNU implementation of Scheme for application extensibility.
16
17 description
18 GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library
19 implementation of the Scheme programming language, written in C. GUILE
20 provides a machine-independent execution platform that can be linked in
21 as a library during the building of extensible programs.
22 end
23
24 source_dl = ftp://ftp.gnu.org/gnu/guile/
25 sources += %{name}-%{compat_ver}.tar.gz
26
27 build
28 requires
29 gc-devel
30 gettext-devel
31 gmp-devel
32 libffi-devel >= 3.0.13
33 libtool-devel
34 libunistring-devel
35 readline-devel
36 end
37
38 configure_options += \
39 --disable-static \
40 --disable-error-on-warning
41
42 build_cmds
43 pushd %{DIR_SRC}/%{name}-%{compat_ver}
44 ./configure %{configure_options}
45 make %{PARALLELISMFLAGS}
46 popd
47 end
48
49 test
50 make check
51
52 #pushd %{DIR_SRC}/%{name}-%{compat_ver}
53 #make check
54 #popd
55 end
56
57 install_cmds
58 pushd %{DIR_SRC}/%{name}-%{compat_ver}
59 install -m 755 libguile/.libs/libguile.so.17.4.0 %{BUILDROOT}%{libdir}
60 ln -svf libguile.so.17.4.0 %{BUILDROOT}%{libdir}/libguile.so.17
61 popd
62 end
63 end
64
65 packages
66 package %{name}
67
68 package %{name}-compat
69 summary = Compat libraries of %{thisapp}.
70
71 files
72 %{libdir}/libguile.so.17*
73 end
74 end
75
76 package %{name}-devel
77 template DEVEL
78
79 requires
80 gmp-devel
81 libtool-devel
82 end
83 end
84
85 package %{name}-debuginfo
86 template DEBUGINFO
87 end
88 end