]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - autogen/autogen.nm
libidn: Update to version 1.32
[people/amarx/ipfire-3.x.git] / autogen / autogen.nm
index 6e6ee13ebee9ac0d609d19f35a71def376f37933..90d9a32fc67eb61bac264301026ba3458fe08805 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = autogen
-version    = 5.9.4
+version    = 5.18.1
 release    = 1
 
 groups     = Development/Tools
@@ -13,22 +13,48 @@ license    = GPLv3
 summary    = Automated text file generator.
 
 description
-       AutoGen is a tool designed to simplify the creation and maintenance of \
-       programs that contain large amounts of repetitious text. It is especially \
-       valuable in programs that have several blocks of text that must be kept \
+       AutoGen is a tool designed to simplify the creation and maintenance of
+       programs that contain large amounts of repetitious text. It is especially
+       valuable in programs that have several blocks of text that must be kept
        synchronised.
 end
 
-source_dl  = http://ftp.gnu.org/gnu/autogen/
+source_dl  = ftp://ftp.gnu.org/gnu/autogen/rel%{version}/
 
 build
        requires
-               guile-devel
+               guile-devel >= 2.0.9-3
+               libtool
                libxml2-devel
        end
+
+       prepare_cmds
+               # Fix Libtool to remove rpaths.
+               rm -vf libtool
+               cp -vf $(which libtool) libtool
+
+               # Omit unused direct shared library dependencies.
+               sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' ./libtool
+       end
+
+       test
+               make check
+       end
+
+       install_cmds
+               rm -vf %{BUILDROOT}%{datadir}/%{name}/autoopts.m4
+               rm -vf %{BUILDROOT}%{datadir}/%{name}/libopts-31.0.6.tar.gz
+       end
 end
 
 packages
        package %{name}
+
+       package %{name}-libs
+               template LIBS
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
        end
 end