]> git.ipfire.org Git - ipfire-3.x.git/blob - autogen/autogen.nm
binutils: Update to 2.32
[ipfire-3.x.git] / autogen / autogen.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = autogen
7 version = 5.18.12
8 release = 1
9
10 groups = Development/Tools
11 url = http://www.gnu.org/software/autogen/
12 license = GPLv3
13 summary = Automated text file generator.
14
15 description
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
19 synchronised.
20 end
21
22 source_dl = ftp://ftp.gnu.org/gnu/autogen/rel%{version}/
23
24 build
25 requires
26 guile-devel >= 2.0.9-3
27 libtool
28 libxml2-devel
29 end
30
31 export LD_LIBRARY_PATH = %{DIR_APP}/autoopts/.libs
32
33 prepare_cmds
34 # Fix Libtool to remove rpaths.
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
42 test
43 make check
44 end
45
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
50 end
51
52 packages
53 package %{name}
54
55 package %{name}-libs
56 template LIBS
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
62 end