]>
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 |
4f7f11bb | 7 | version = 5.18.1 |
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 | |
ea526496 | 31 | prepare_cmds |
4f7f11bb | 32 | # Fix Libtool to remove rpaths. |
ea526496 MT |
33 | rm -vf libtool |
34 | cp -vf $(which libtool) libtool | |
35 | ||
36 | # Omit unused direct shared library dependencies. | |
37 | sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' ./libtool | |
38 | end | |
39 | ||
4f7f11bb SS |
40 | test |
41 | make check | |
42 | end | |
43 | ||
ea526496 MT |
44 | install_cmds |
45 | rm -vf %{BUILDROOT}%{datadir}/%{name}/autoopts.m4 | |
46 | rm -vf %{BUILDROOT}%{datadir}/%{name}/libopts-31.0.6.tar.gz | |
47 | end | |
802ea3af | 48 | end |
72421a31 | 49 | |
802ea3af MT |
50 | packages |
51 | package %{name} | |
ea526496 MT |
52 | |
53 | package %{name}-libs | |
54 | template LIBS | |
802ea3af | 55 | end |
1f9bc2f0 MT |
56 | |
57 | package %{name}-debuginfo | |
58 | template DEBUGINFO | |
59 | end | |
802ea3af | 60 | end |