From: Michael Tremer Date: Mon, 5 Jul 2010 15:04:36 +0000 (+0200) Subject: autogen: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72421a31efbdba46f48bd0f93a79ac4bc5308aeb;p=ipfire-3.x.git autogen: New package. Required for gcc testsuite. --- diff --git a/pkgs/core/autogen/autogen.nm b/pkgs/core/autogen/autogen.nm new file mode 100644 index 000000000..9b8965f52 --- /dev/null +++ b/pkgs/core/autogen/autogen.nm @@ -0,0 +1,50 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = autogen +PKG_VER = 5.9.4 +PKG_REL = 0 + +PKG_MAINTAINER = +PKG_GROUP = Development/Tools +PKG_URL = http://www.gnu.org/software/autogen/ +PKG_LICENSE = GPLv3 +PKG_SUMMARY = Automated text file generator. + +PKG_DEPS += guile libxml2 + +define PKG_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 \ + synchronised. +endef + +PKG_TARBALL = $(THISAPP).tar.gz + +define STAGE_TEST + cd $(DIR_APP) && make check +endef diff --git a/pkgs/core/autogen/patches/autogen-5.9.4-autoopts-config.patch b/pkgs/core/autogen/patches/autogen-5.9.4-autoopts-config.patch new file mode 100644 index 000000000..6f63077c9 --- /dev/null +++ b/pkgs/core/autogen/patches/autogen-5.9.4-autoopts-config.patch @@ -0,0 +1,25 @@ +diff -urNp autogen-5.9.4.orig/autoopts/autoopts-config.in autogen-5.9.4/autoopts/autoopts-config.in +--- autogen-5.9.4.orig/autoopts/autoopts-config.in 2007-12-24 02:33:16.000000000 +0530 ++++ autogen-5.9.4/autoopts/autoopts-config.in 2008-02-25 00:38:27.000000000 +0530 +@@ -17,17 +17,17 @@ + includedir="@includedir@" + exec_prefix="@exec_prefix@" + bindir="@bindir@" +- libdir="@libdir@" +- ldopts="@AG_LDFLAGS@" ++ libdir="" ++ ldopts="" + exeext="@EXEEXT@" + version="@AO_CURRENT@:@AO_REVISION@:@AO_AGE@" + dotver="@AO_CURRENT@.@AO_REVISION@.@AO_AGE@" + pkgdatadir="${datadir}/${package}" + autogen="${bindir}/autogen${exeext}" +- ldflags="-L${libdir} -lopts" ++ ldflags="-lopts" + libs="${ldflags}" + libsrc="${pkgdatadir}/libopts-${dotver}.tar.gz" +- static_libs="${libdir}/libopts.a" ++ static_libs="" + cflags="-I${includedir}" + test -n "${ldopts}" && ldflags="${ldopts}${libdir} ${ldflags}" + test "${includedir}" = "/usr/include" && cflags="" diff --git a/pkgs/core/autogen/patches/autogen-5.9.4-pkgconfig.patch b/pkgs/core/autogen/patches/autogen-5.9.4-pkgconfig.patch new file mode 100644 index 000000000..087de3447 --- /dev/null +++ b/pkgs/core/autogen/patches/autogen-5.9.4-pkgconfig.patch @@ -0,0 +1,11 @@ +diff -urNp autogen-5.9.4.orig/autoopts/mk-autoopts-pc.in autogen-5.9.4/autoopts/mk-autoopts-pc.in +--- autogen-5.9.4.orig/autoopts/mk-autoopts-pc.in 2007-12-24 02:33:16.000000000 +0530 ++++ autogen-5.9.4/autoopts/mk-autoopts-pc.in 2008-02-24 21:21:13.000000000 +0530 +@@ -18,7 +18,6 @@ + exec_prefix="@exec_prefix@" + bindir="@bindir@" + libdir="@libdir@" +- ldopts="@AG_LDFLAGS@" + exeext="@EXEEXT@" + version="@AO_CURRENT@:@AO_REVISION@:@AO_AGE@" + dotver="@AO_CURRENT@.@AO_REVISION@.@AO_AGE@"