]>
Commit | Line | Data |
---|---|---|
72421a31 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
72421a31 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = autogen |
81b21dc0 | 7 | version = 5.18.12 |
802ea3af | 8 | release = 1 |
72421a31 | 9 | |
802ea3af MT |
10 | groups = Development/Tools |
11 | url = http://www.gnu.org/software/autogen/ | |
12 | license = GPLv3 | |
13 | summary = Automated text file generator. | |
72421a31 | 14 | |
802ea3af | 15 | description |
4f7f11bb SS |
16 | AutoGen is a tool designed to simplify the creation and maintenance of |
17 | programs that contain large amounts of repetitious text. It is especially | |
18 | valuable in programs that have several blocks of text that must be kept | |
72421a31 | 19 | synchronised. |
802ea3af MT |
20 | end |
21 | ||
ea526496 | 22 | source_dl = ftp://ftp.gnu.org/gnu/autogen/rel%{version}/ |
802ea3af MT |
23 | |
24 | build | |
25 | requires | |
4f7f11bb | 26 | guile-devel >= 2.0.9-3 |
ea526496 | 27 | libtool |
802ea3af MT |
28 | libxml2-devel |
29 | end | |
ea526496 | 30 | |
81b21dc0 MT |
31 | export LD_LIBRARY_PATH = %{DIR_APP}/autoopts/.libs |
32 | ||
ea526496 | 33 | prepare_cmds |
4f7f11bb | 34 | # Fix Libtool to remove rpaths. |
ea526496 MT |
35 | rm -vf libtool |
36 | cp -vf $(which libtool) libtool | |
37 | ||
38 | # Omit unused direct shared library dependencies. | |
39 | sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' ./libtool | |
40 | end | |
41 | ||
4f7f11bb SS |
42 | test |
43 | make check | |
44 | end | |
45 | ||
ea526496 MT |
46 | install_cmds |
47 | rm -vf %{BUILDROOT}%{datadir}/%{name}/autoopts.m4 | |
48 | rm -vf %{BUILDROOT}%{datadir}/%{name}/libopts-31.0.6.tar.gz | |
49 | end | |
802ea3af | 50 | end |
72421a31 | 51 | |
802ea3af MT |
52 | packages |
53 | package %{name} | |
ea526496 MT |
54 | |
55 | package %{name}-libs | |
56 | template LIBS | |
802ea3af | 57 | end |
1f9bc2f0 MT |
58 | |
59 | package %{name}-debuginfo | |
60 | template DEBUGINFO | |
61 | end | |
802ea3af | 62 | end |