diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-21 01:06:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-21 01:06:27 +0000 |
commit | ec5596d9f8874ad601fac6e7e2fa9adcfef15449 (patch) | |
tree | 5336d4bee06d890219a389d8d84c8540c5137bb0 /sys-devel/autoconf | |
parent | initial import (diff) | |
download | gentoo-2-ec5596d9f8874ad601fac6e7e2fa9adcfef15449.tar.gz gentoo-2-ec5596d9f8874ad601fac6e7e2fa9adcfef15449.tar.bz2 gentoo-2-ec5596d9f8874ad601fac6e7e2fa9adcfef15449.zip |
SLOT-ed versions of autoconf
Diffstat (limited to 'sys-devel/autoconf')
-rw-r--r-- | sys-devel/autoconf/ChangeLog | 9 | ||||
-rw-r--r-- | sys-devel/autoconf/autoconf-2.13.ebuild | 60 | ||||
-rw-r--r-- | sys-devel/autoconf/autoconf-2.59-r6.ebuild | 41 | ||||
-rw-r--r-- | sys-devel/autoconf/files/autoconf-2.13-destdir.patch | 26 | ||||
-rw-r--r-- | sys-devel/autoconf/files/autoconf-2.13-gentoo.patch | 36 | ||||
-rw-r--r-- | sys-devel/autoconf/files/digest-autoconf-2.13 | 1 | ||||
-rw-r--r-- | sys-devel/autoconf/files/digest-autoconf-2.59-r6 | 1 |
7 files changed, 173 insertions, 1 deletions
diff --git a/sys-devel/autoconf/ChangeLog b/sys-devel/autoconf/ChangeLog index ada96d7fcb17..165226993892 100644 --- a/sys-devel/autoconf/ChangeLog +++ b/sys-devel/autoconf/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-devel/autoconf # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/ChangeLog,v 1.56 2004/10/09 22:38:53 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/ChangeLog,v 1.57 2004/10/21 01:06:27 vapier Exp $ + +*autoconf-2.13 (20 Oct 2004) + + 20 Oct 2004; Mike Frysinger <vapier@gentoo.org> + +files/autoconf-2.13-destdir.patch, +files/autoconf-2.13-gentoo.patch, + +autoconf-2.13.ebuild, +autoconf-2.59-r6.ebuild: + SLOT-ed versions of autoconf. *autoconf-2.59-r5 (09 Oct 2004) diff --git a/sys-devel/autoconf/autoconf-2.13.ebuild b/sys-devel/autoconf/autoconf-2.13.ebuild new file mode 100644 index 000000000000..373d0505510f --- /dev/null +++ b/sys-devel/autoconf/autoconf-2.13.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.13.ebuild,v 1.1 2004/10/21 01:06:27 vapier Exp $ + +inherit eutils + +DESCRIPTION="Used to create autoconfiguration files" +HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="${PV:0:3}" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +DEPEND=">=sys-apps/texinfo-4.3 + sys-devel/autoconf-wrapper + =sys-devel/m4-1.4* + dev-lang/perl" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch + epatch ${FILESDIR}/${P}-destdir.patch + touch configure # make sure configure is newer than configure.in + + rm -f standards.{texi,info} # binutils installs this infopage + + sed -i \ + -e 's|\* Autoconf:|\* Autoconf v2.1:|' \ + -e '/START-INFO-DIR-ENTRY/ i INFO-DIR-SECTION GNU programming tools' \ + autoconf.texi \ + || die "sed failed" +} + +src_compile() { + # need to include --exec-prefix and --bindir or our + # DESTDIR patch will trigger sandbox hate :( + econf \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --program-suffix="-${PV}" \ + || die + emake || die +} + +src_install() { + make install DESTDIR="${D}" || die + + dodoc AUTHORS NEWS README TODO \ + ChangeLog ChangeLog.0 ChangeLog.1 + + mv "${D}"/usr/share/info/autoconf{,-${PV}}.info +} + +pkg_postinst() { + einfo "Please note that the 'WANT_AUTOCONF_2_1=1' syntax is now:" + einfo " WANT_AUTOCONF=2.1" +} diff --git a/sys-devel/autoconf/autoconf-2.59-r6.ebuild b/sys-devel/autoconf/autoconf-2.59-r6.ebuild new file mode 100644 index 000000000000..15e811c550c1 --- /dev/null +++ b/sys-devel/autoconf/autoconf-2.59-r6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.59-r6.ebuild,v 1.1 2004/10/21 01:06:27 vapier Exp $ + +inherit eutils + +DESCRIPTION="Used to create autoconfiguration files" +HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="${PV:0:3}" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +DEPEND=">=sys-apps/texinfo-4.3 + sys-devel/autoconf-wrapper + =sys-devel/m4-1.4* + dev-lang/perl" + +src_compile() { + econf --program-suffix="-${PV}" || die + # We want to transform the binaries, not the manpages + sed -i "/^program_transform_name/s:-${PV}::" man/Makefile + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + + dodoc AUTHORS BUGS NEWS README TODO THANKS \ + ChangeLog ChangeLog.0 ChangeLog.1 ChangeLog.2 + + # binutils installs this infopage + rm -f "${D}"/usr/share/info/standards.* +} + +pkg_postinst() { + einfo "Please note that the 'WANT_AUTOCONF_2_5=1' syntax is now:" + einfo " WANT_AUTOCONF=2.5" +} diff --git a/sys-devel/autoconf/files/autoconf-2.13-destdir.patch b/sys-devel/autoconf/files/autoconf-2.13-destdir.patch new file mode 100644 index 000000000000..858b8bcc1f71 --- /dev/null +++ b/sys-devel/autoconf/files/autoconf-2.13-destdir.patch @@ -0,0 +1,26 @@ +--- Makefile.in.orig 2004-10-20 16:44:54.949117496 -0400 ++++ Makefile.in 2004-10-20 16:45:39.999268832 -0400 +@@ -41,18 +41,18 @@ + + transform=@program_transform_name@ + +-prefix = @prefix@ ++prefix = $(DESTDIR)@prefix@ +-exec_prefix = @exec_prefix@ ++exec_prefix = $(DESTDIR)@exec_prefix@ + + # Directory in which to install scripts. +-bindir = @bindir@ ++bindir = $(DESTDIR)@bindir@ + + # Directory in which to install library files. +-datadir = @datadir@ ++datadir = $(DESTDIR)@datadir@ + acdatadir = $(datadir)/autoconf + + # Directory in which to install documentation info files. +-infodir = @infodir@ ++infodir = $(DESTDIR)@infodir@ + + #### End of system configuration section. #### + diff --git a/sys-devel/autoconf/files/autoconf-2.13-gentoo.patch b/sys-devel/autoconf/files/autoconf-2.13-gentoo.patch new file mode 100644 index 000000000000..8e40d0cae049 --- /dev/null +++ b/sys-devel/autoconf/files/autoconf-2.13-gentoo.patch @@ -0,0 +1,36 @@ +--- configure.orig Wed Feb 28 20:51:53 2001 ++++ configure Wed Feb 28 20:52:03 2001 +@@ -654,12 +654,10 @@ + echo "$ac_t""no" 1>&6 + fi + +-if test "$PERL" != no; then +- SCRIPTS=autoscan +-else +- echo "configure: warning: autoscan will not be built since perl is not found" 1>&2 ++if test "$PERL" = no; then ++ PERL=/usr/bin/perl + fi +- ++SCRIPTS=autoscan + ac_aux_dir= + for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do + if test -f $ac_dir/install-sh; then +--- configure.orig Wed Feb 28 20:53:24 2001 ++++ configure.in Wed Feb 28 20:53:28 2001 +@@ -14,12 +14,10 @@ + AC_PATH_PROG(PERL, perl, no) + AC_SUBST(PERL)dnl + AC_SUBST(SCRIPTS)dnl +-if test "$PERL" != no; then +- SCRIPTS=autoscan +-else +- AC_MSG_WARN(autoscan will not be built since perl is not found) ++if test "$PERL" = no; then ++ PERL=/usr/bin/perl + fi +- ++SCRIPTS=autoscan + AC_PROG_INSTALL + + # Work with the GNU or Cygnus source tree layout. diff --git a/sys-devel/autoconf/files/digest-autoconf-2.13 b/sys-devel/autoconf/files/digest-autoconf-2.13 new file mode 100644 index 000000000000..d0d2998d7bd3 --- /dev/null +++ b/sys-devel/autoconf/files/digest-autoconf-2.13 @@ -0,0 +1 @@ +MD5 9de56d4a161a723228220b0f425dc711 autoconf-2.13.tar.gz 443844 diff --git a/sys-devel/autoconf/files/digest-autoconf-2.59-r6 b/sys-devel/autoconf/files/digest-autoconf-2.59-r6 new file mode 100644 index 000000000000..2c410cdcd9fa --- /dev/null +++ b/sys-devel/autoconf/files/digest-autoconf-2.59-r6 @@ -0,0 +1 @@ +MD5 1ee40f7a676b3cfdc0e3f7cd81551b5f autoconf-2.59.tar.bz2 925073 |