From 63f9c31c9ca0b1a736b960a17e661f36a0be566a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 19 Feb 2007 13:07:48 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-2.1.2-r9 --- sys-devel/libtool/ChangeLog | 9 +- .../libtool/files/digest-libtool-1.5.23b | 3 + sys-devel/libtool/libtool-1.5.23b.ebuild | 98 +++++++++++++++++++ 3 files changed, 108 insertions(+), 2 deletions(-) create mode 100644 sys-devel/libtool/files/digest-libtool-1.5.23b create mode 100644 sys-devel/libtool/libtool-1.5.23b.ebuild diff --git a/sys-devel/libtool/ChangeLog b/sys-devel/libtool/ChangeLog index 4132f28ecdff..41aca4833eea 100644 --- a/sys-devel/libtool/ChangeLog +++ b/sys-devel/libtool/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/libtool -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.107 2006/12/08 15:56:16 seemant Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.108 2007/02/19 13:07:48 vapier Exp $ + +*libtool-1.5.23b (19 Feb 2007) + + 19 Feb 2007; Mike Frysinger +libtool-1.5.23b.ebuild: + Version bump. 08 Dec 2006; Seemant Kulleen libtool-1.5.22.ebuild: fix white space error reported by grobian in #gentoo-dev diff --git a/sys-devel/libtool/files/digest-libtool-1.5.23b b/sys-devel/libtool/files/digest-libtool-1.5.23b new file mode 100644 index 000000000000..3c92977be733 --- /dev/null +++ b/sys-devel/libtool/files/digest-libtool-1.5.23b @@ -0,0 +1,3 @@ +MD5 d396433eca05ce2da9809e2af76ce3f6 libtool-1.5.23b.tar.gz 2914155 +RMD160 b29b952bfda7dcdae2f6d156343e3ac0c8d339b7 libtool-1.5.23b.tar.gz 2914155 +SHA256 32a3a7a9cb20ec44d3e7b224f9933f8f8fafef006abaccf5f4e6087b7d25d983 libtool-1.5.23b.tar.gz 2914155 diff --git a/sys-devel/libtool/libtool-1.5.23b.ebuild b/sys-devel/libtool/libtool-1.5.23b.ebuild new file mode 100644 index 000000000000..aeeb017930d6 --- /dev/null +++ b/sys-devel/libtool/libtool-1.5.23b.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.5.23b.ebuild,v 1.1 2007/02/19 13:07:48 vapier Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $ + +inherit eutils autotools + +DESCRIPTION="A shared library tool for developers" +HOMEPAGE="http://www.gnu.org/software/libtool/libtool.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="1.5" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="sys-devel/gnuconfig + >=sys-devel/autoconf-2.59 + >=sys-devel/automake-1.9" +DEPEND="${RDEPEND} + sys-apps/help2man" + +gen_ltmain_sh() { + local date= + local PACKAGE= + local VERSION= + + rm -f ltmain.shT + date=`./mkstamp < ./ChangeLog` && \ + eval `egrep '^[[:space:]]*PACKAGE.*=' configure` && \ + eval `egrep '^[[:space:]]*VERSION.*=' configure` && \ + sed -e "s/@PACKAGE@/${PACKAGE}/" -e "s/@VERSION@/${VERSION}/" \ + -e "s%@TIMESTAMP@%$date%" ./ltmain.in > ltmain.shT || return 1 + + mv -f ltmain.shT ltmain.sh || { + (rm -f ltmain.sh && cp ltmain.shT ltmain.sh && rm -f ltmain.shT) + return 1 + } + + return 0 +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Make sure non of the patches touch ltmain.sh, but rather ltmain.in + rm -f ltmain.sh* + + epatch "${FILESDIR}"/1.5.20/${PN}-1.5.20-use-linux-version-in-fbsd.patch #109105 + epatch "${FILESDIR}"/1.5.10/${PN}-1.5.10-portage.patch + epatch "${FILESDIR}"/1.5.10/libtool-1.5.10-locking.patch #40992 + + # Note: The following patches should be dropped with libtool-2+ + epatch "${FILESDIR}"/1.5.20/${PN}-1.5.20-version-checking.patch #73140 + sed -i "s:@_LT_VERSION@:${PV}:" libtool.m4 || die "sed libtool.m4" + epatch "${FILESDIR}"/1.5.6/libtool-1.5-filter-host-tags.patch + epatch "${FILESDIR}"/1.5.20/libtool-1.5.20-override-LD_LIBRARY_PATH.patch + + ebegin "Generating ltmain.sh" + gen_ltmain_sh || die "Failed to generate ltmain.sh!" + eend 0 + + # Now let's run all our autotool stuff so that files we patch + # below don't get regenerated on us later + cp libtool.m4 acinclude.m4 + local d p + for d in . libltdl ; do + ebegin "Running autotools in '${d}'" + cd "${S}"/${d} + touch acinclude.m4 + for p in aclocal "automake -c -a" autoconf ; do + ${p} || die "${p}" + done + eend 0 + done + cd "${S}" + + epunt_cxx +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog* NEWS README THANKS TODO doc/PLATFORMS + + local x + for x in libtool libtoolize ; do + help2man ${x} > ${x}.1 + doman ${x}.1 + done + + for x in $(find "${D}" -name config.guess -o -name config.sub) ; do + rm -f "${x}" ; ln -sf ../gnuconfig/$(basename "${x}") "${x}" + done + cd "${D}"/usr/share/libtool/libltdl + for x in config.guess config.sub ; do + rm -f ${x} ; ln -sfn ../${x} ${x} + done +} -- 2.26.2