summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-07-08 23:52:17 +0000
committerTravis Tilley <lv@gentoo.org>2004-07-08 23:52:17 +0000
commit35685ccf46e7fbd3af52e27b2f5495d4ca710183 (patch)
tree061f4d2d9741b92d29d80330ff19eb92935fbe5f /sys-devel
parentStable on alpha. (Manifest recommit) (diff)
downloadgentoo-2-35685ccf46e7fbd3af52e27b2f5495d4ca710183.tar.gz
gentoo-2-35685ccf46e7fbd3af52e27b2f5495d4ca710183.tar.bz2
gentoo-2-35685ccf46e7fbd3af52e27b2f5495d4ca710183.zip
version bump
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/libtool/ChangeLog8
-rw-r--r--sys-devel/libtool/Manifest58
-rw-r--r--sys-devel/libtool/files/1.5.6/libtool-1.5.6-ltmain-SED.patch13
-rw-r--r--sys-devel/libtool/files/digest-libtool-1.5.62
-rw-r--r--sys-devel/libtool/libtool-1.5.6.ebuild221
5 files changed, 273 insertions, 29 deletions
diff --git a/sys-devel/libtool/ChangeLog b/sys-devel/libtool/ChangeLog
index 26be86a5f140..4db1d8d64f33 100644
--- a/sys-devel/libtool/ChangeLog
+++ b/sys-devel/libtool/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/libtool
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.46 2004/07/02 08:40:18 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.47 2004/07/08 23:52:17 lv Exp $
+
+*libtool-1.5.6 (08 Jul 2004)
+
+ 08 Jul 2004; Travis Tilley <lv@gentoo.org>
+ +files/1.5.6/libtool-1.5.6-ltmain-SED.patch, +libtool-1.5.6.ebuild:
+ version bump. keyworded -* until i know this wont break anything
02 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
libtool-1.4.1-r10.ebuild, libtool-1.4.3-r3.ebuild, libtool-1.4.3-r4.ebuild,
diff --git a/sys-devel/libtool/Manifest b/sys-devel/libtool/Manifest
index 5ace3f81eb7a..a8bb20816c34 100644
--- a/sys-devel/libtool/Manifest
+++ b/sys-devel/libtool/Manifest
@@ -1,62 +1,64 @@
-MD5 667c47b0451d56943b5fd09753b2a653 ChangeLog 8169
-MD5 dc2ec0edea0c4ed2669b5b890962ebaa libtool-1.4.1-r10.ebuild 1770
-MD5 281f73b4fa30319dac0a5561e4b716cd libtool-1.4.3-r3.ebuild 4776
-MD5 44ccfc1c2799d11e3aa8d96ced633e30 libtool-1.4.3-r4.ebuild 5200
MD5 6d2c61deafbbe69d70a0231c8d21067d libtool-1.5.2-r3.ebuild 5556
-MD5 480947fe14c6d9584d4e63f22179656b libtool-1.5.2-r4.ebuild 5575
+MD5 44ccfc1c2799d11e3aa8d96ced633e30 libtool-1.4.3-r4.ebuild 5200
MD5 4e7bd8af28491d855750a3345d64f1b2 libtool-1.5.2-r5.ebuild 6238
+MD5 4e7bd8af28491d855750a3345d64f1b2 libtool-1.5.6.ebuild 6238
+MD5 281f73b4fa30319dac0a5561e4b716cd libtool-1.4.3-r3.ebuild 4776
+MD5 dc2ec0edea0c4ed2669b5b890962ebaa libtool-1.4.1-r10.ebuild 1770
+MD5 480947fe14c6d9584d4e63f22179656b libtool-1.5.2-r4.ebuild 5575
+MD5 667c47b0451d56943b5fd09753b2a653 ChangeLog 8169
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 cd3779fa4710870bb83597c39736e822 files/digest-libtool-1.4.1-r10 66
+MD5 2cd6110e84c85c183c7b8dcd0be814e7 files/ltconfig-uclibc.patch 1167
MD5 6e892e6bd1ca4d9babce9f9163f6118e files/digest-libtool-1.4.3-r3 131
MD5 6e892e6bd1ca4d9babce9f9163f6118e files/digest-libtool-1.4.3-r4 131
+MD5 6e26db6ca2d038bca2ea11f6ba9c2e83 files/digest-libtool-1.5.6 131
MD5 3b92d43ab25bc1ad32ee87d89660f268 files/digest-libtool-1.5.2-r3 131
MD5 3b92d43ab25bc1ad32ee87d89660f268 files/digest-libtool-1.5.2-r4 131
MD5 3b92d43ab25bc1ad32ee87d89660f268 files/digest-libtool-1.5.2-r5 131
MD5 bd27a462a2a9fe3662d3d34179ed3200 files/libltdl-uclibc.patch 4590
-MD5 2cd6110e84c85c183c7b8dcd0be814e7 files/ltconfig-uclibc.patch 1167
+MD5 cd3779fa4710870bb83597c39736e822 files/digest-libtool-1.4.1-r10 66
+MD5 ff0198ffcbdb0c56335422cd792d0bee files/1.4.1/libtool-1.4.1-nonneg.patch 935
+MD5 66866531be8e6be80d0ab249fd73f113 files/1.4.1/libtool-1.4.1-relink.patch 3722
MD5 be0c4444b82ac7cda7c40165174ef2a7 files/1.4.1/libtool-1.4.1-duplicate-dependency.patch 2895
MD5 63c00ae5db1e0c5c92e6d2c5fdf47c19 files/1.4.1/libtool-1.4.1-ltmain.sh-hack.patch 680
-MD5 ff0198ffcbdb0c56335422cd792d0bee files/1.4.1/libtool-1.4.1-nonneg.patch 935
MD5 dafd6bf5aafdd8c745d32d7a51f9bf5b files/1.4.1/libtool-1.4.1-portage.patch 495
MD5 b85e2a6a099df7dd263d76899dda1f5a files/1.4.1/libtool-1.4.1-portage.patch-v2 890
MD5 99bae50822db0d21d6fa358f17ebae72 files/1.4.1/libtool-1.4.1-portage.patch-v3 1444
MD5 964e7d53d1ee51d78d20bd2beb0c859c files/1.4.1/libtool-1.4.1-portage.patch-v4 1941
MD5 2356918d96b0760ab4e5b662fc2bd81b files/1.4.1/libtool-1.4.1-portage.patch-v5 2112
MD5 f7177c6432cecb38e31e0b9d8681d5b0 files/1.4.1/libtool-1.4.1-portage.patch-v6 2307
-MD5 66866531be8e6be80d0ab249fd73f113 files/1.4.1/libtool-1.4.1-relink.patch 3722
MD5 3b6fe1afd09f09efd36d9f9f5225a207 files/1.4.1/libtool-1.4.1-test.patch 9320
-MD5 cbfa90e559159a2197fc19df16bddf77 files/1.4.2/libtool-1.3.5-mktemp.patch 642
MD5 ff0198ffcbdb0c56335422cd792d0bee files/1.4.2/libtool-1.4-nonneg.patch 935
-MD5 63c00ae5db1e0c5c92e6d2c5fdf47c19 files/1.4.2/libtool-1.4.1-ltmain.sh-hack.patch 680
MD5 47fd700361b3cb3aae8dc44f28f613b0 files/1.4.2/libtool-1.4.2-add-x11r6-lib-in-ignores-for-rpath.patch 460
+MD5 63c00ae5db1e0c5c92e6d2c5fdf47c19 files/1.4.2/libtool-1.4.1-ltmain.sh-hack.patch 680
MD5 7b1baabe9b60c5cd21d203e51dc4f005 files/1.4.2/libtool-1.4.2-archive-shared.patch 633
-MD5 be0c4444b82ac7cda7c40165174ef2a7 files/1.4.2/libtool-1.4.2-duplicate-dependency.patch 2895
-MD5 e3285eea22373db2a63c309d00cbe041 files/1.4.2/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch 1632
MD5 a0dbdd9927749761d77ffd7bf2f7dfaa files/1.4.2/libtool-1.4.2-lib64.patch 1527
+MD5 e3285eea22373db2a63c309d00cbe041 files/1.4.2/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch 1632
MD5 f7177c6432cecb38e31e0b9d8681d5b0 files/1.4.2/libtool-1.4.2-portage.patch 2307
-MD5 aa0eb2966d772751eac3bccb6be508b4 files/1.4.2/libtool-1.4.2-relink.patch 3110
+MD5 cbfa90e559159a2197fc19df16bddf77 files/1.4.2/libtool-1.3.5-mktemp.patch 642
+MD5 be0c4444b82ac7cda7c40165174ef2a7 files/1.4.2/libtool-1.4.2-duplicate-dependency.patch 2895
MD5 78aba04ebd4ec67b49228a470360878a files/1.4.2/libtool-1.4.2-test.patch 19511
-MD5 8ad4f6ed8863c26c4ac562e1d00e6db1 files/1.4.3/libtool-1.2f-cache.patch 698
-MD5 55544e163772c87195b893d27e00a0f8 files/1.4.3/libtool-1.3.5-mktemp.patch 642
-MD5 67757e15bfa1cdefb5c23f76198329ec files/1.4.3/libtool-1.3.5-nonneg.patch 895
+MD5 aa0eb2966d772751eac3bccb6be508b4 files/1.4.2/libtool-1.4.2-relink.patch 3110
+MD5 ff5cf09ccda7f9a34f8c3c69e0c5047c files/1.4.3/libtool-1.4.3-libtoolize--config-only.patch 1288
+MD5 d4838522fa55dc06521ddde517901767 files/1.4.3/libtool-1.4.2-expsym-linux.patch 1678
MD5 c7e04f642029498cc1652407b1ea74bf files/1.4.3/libtool-1.4-nonneg.patch 935
+MD5 c4fd959743953818fe6ab06c7d84e795 files/1.4.3/libtool-1.4.3-quotes.patch 12951
MD5 47fd700361b3cb3aae8dc44f28f613b0 files/1.4.3/libtool-1.4.2-add-x11r6-lib-in-ignores-for-rpath.patch 460
MD5 7c11e213296b02b7e4583d7c94e9c9e0 files/1.4.3/libtool-1.4.2-archive-shared.patch 633
-MD5 66ec977174eec4eba66454e4f0f5772a files/1.4.3/libtool-1.4.2-demo.patch 538
-MD5 d4838522fa55dc06521ddde517901767 files/1.4.3/libtool-1.4.2-expsym-linux.patch 1678
-MD5 3b185e86e062b438eb8d418fc5af462f files/1.4.3/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch 816
-MD5 f6f24e776d832798365777c26c2c56fc files/1.4.3/libtool-1.4.2-multilib.patch 1780
-MD5 73a7adc6c9b86c77affeeebccad0eedf files/1.4.3/libtool-1.4.2-portage.patch 2307
+MD5 5fc838faf61964397b525e579783c190 files/1.4.3/libtool-1.4.3-uclibc.patch 5911
MD5 e03f7ed340f294fdb7ddd6c84d4b6b09 files/1.4.3/libtool-1.4.2-relink-58664.patch 3213
-MD5 51df2f3c87ee74b80790edd735ddf565 files/1.4.3/libtool-1.4.2-s390_x86_64.patch 470
+MD5 67757e15bfa1cdefb5c23f76198329ec files/1.4.3/libtool-1.3.5-nonneg.patch 895
+MD5 3b185e86e062b438eb8d418fc5af462f files/1.4.3/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch 816
MD5 8d3d48eebb6f73bb5973d9e92e832cf9 files/1.4.3/libtool-1.4.3-amd64-alias.patch 362
-MD5 191388758ae78d4982f143636e47f514 files/1.4.3/libtool-1.4.3-lib64.patch 1193
-MD5 ff5cf09ccda7f9a34f8c3c69e0c5047c files/1.4.3/libtool-1.4.3-libtoolize--config-only.patch 1288
+MD5 8ad4f6ed8863c26c4ac562e1d00e6db1 files/1.4.3/libtool-1.2f-cache.patch 698
MD5 94591cd9fb847704a323c0faf31fdbf2 files/1.4.3/libtool-1.4.3-ltmain-SED.patch 363
+MD5 66ec977174eec4eba66454e4f0f5772a files/1.4.3/libtool-1.4.2-demo.patch 538
+MD5 191388758ae78d4982f143636e47f514 files/1.4.3/libtool-1.4.3-lib64.patch 1193
MD5 a9be6866b7096092613595ccff0fd773 files/1.4.3/libtool-1.4.3-pass-thread-flags.patch 494
-MD5 c4fd959743953818fe6ab06c7d84e795 files/1.4.3/libtool-1.4.3-quotes.patch 12951
-MD5 5fc838faf61964397b525e579783c190 files/1.4.3/libtool-1.4.3-uclibc.patch 5911
-MD5 6ef585a59058c79f3601bbd7787f2683 files/1.5.2/libtool-1.5-libtool.m4-x86_64.patch 466
+MD5 73a7adc6c9b86c77affeeebccad0eedf files/1.4.3/libtool-1.4.2-portage.patch 2307
+MD5 55544e163772c87195b893d27e00a0f8 files/1.4.3/libtool-1.3.5-mktemp.patch 642
+MD5 51df2f3c87ee74b80790edd735ddf565 files/1.4.3/libtool-1.4.2-s390_x86_64.patch 470
+MD5 f6f24e776d832798365777c26c2c56fc files/1.4.3/libtool-1.4.2-multilib.patch 1780
MD5 0fb02114fa6b6cd63ea25510f04f346a files/1.5.2/libtool-1.5-testfailure.patch 6448
MD5 8ccfbb70def73753ae1b2750c6e4e83c files/1.5.2/libtool-1.5.2-libtool_m4-shared_ext.patch 880
+MD5 6ef585a59058c79f3601bbd7787f2683 files/1.5.2/libtool-1.5-libtool.m4-x86_64.patch 466
MD5 d2313fcf3c18603f201627ca94850786 files/1.5.2/libtool-1.5.2-ltmain_sh-max_cmd_len.patch 1153
diff --git a/sys-devel/libtool/files/1.5.6/libtool-1.5.6-ltmain-SED.patch b/sys-devel/libtool/files/1.5.6/libtool-1.5.6-ltmain-SED.patch
new file mode 100644
index 000000000000..5cd9251479be
--- /dev/null
+++ b/sys-devel/libtool/files/1.5.6/libtool-1.5.6-ltmain-SED.patch
@@ -0,0 +1,13 @@
+diff -Nru libtool-1.5.6.old/ltmain.in libtool-1.5.6/ltmain.in
+--- libtool-1.5.6.old/ltmain.in 2004-07-08 19:36:35.533628176 -0400
++++ libtool-1.5.6/ltmain.in 2004-07-08 19:37:50.504230912 -0400
+@@ -33,6 +33,9 @@
+ # function.
+ progpath="$0"
+
++# define SED for historic ltconfig's generated by Libtool 1.3
++test -z "$SED" && SED=sed
++
+ # The name of this program:
+ progname=`echo "$progpath" | $SED $basename`
+ modename="$progname"
diff --git a/sys-devel/libtool/files/digest-libtool-1.5.6 b/sys-devel/libtool/files/digest-libtool-1.5.6
new file mode 100644
index 000000000000..14760d89154e
--- /dev/null
+++ b/sys-devel/libtool/files/digest-libtool-1.5.6
@@ -0,0 +1,2 @@
+MD5 f9b709f4ac6d094afdee9cdbe1c6ffe7 libtool-1.5.6.tar.gz 2665434
+MD5 fa26a07c978ad05d1f88ed7a472daa49 libtool-1.3.5.tar.gz 538884
diff --git a/sys-devel/libtool/libtool-1.5.6.ebuild b/sys-devel/libtool/libtool-1.5.6.ebuild
new file mode 100644
index 000000000000..4df5e838e338
--- /dev/null
+++ b/sys-devel/libtool/libtool-1.5.6.ebuild
@@ -0,0 +1,221 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.5.6.ebuild,v 1.1 2004/07/08 23:52:17 lv Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $
+
+inherit eutils gnuconfig
+
+# NOTE: We install libltdl of libtool-1.3x for compat reasons ...
+
+OLD_PV="1.3.5"
+S="${WORKDIR}/${P}"
+OLD_S="${WORKDIR}/${PN}-${OLD_PV}"
+DESCRIPTION="A shared library tool for developers"
+HOMEPAGE="http://www.gnu.org/software/libtool/libtool.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+ mirror://gnu/${PN}/${PN}-${OLD_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-*"
+#KEYWORDS="~x86 ~ppc ~ppc64 ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390"
+IUSE="uclibc"
+
+DEPEND="virtual/libc
+ >=sys-devel/autoconf-2.58
+ >=sys-devel/automake-1.8.3"
+# the autoconf dep is due to it complaining 'configure.ac:55: error: Autoconf version 2.58 or higher is required'
+# the automake dep is due to Bug #46037
+
+lt_setup() {
+ export WANT_AUTOCONF_2_5=1
+ export WANT_AUTOMAKE_1_5=1
+}
+
+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() {
+ lt_setup
+
+ unpack ${A}
+
+ cd ${OLD_S}
+ echo
+ # Install updated missing script
+ portageq has_version / "sys-devel/automake" && {
+ rm -f missing
+ automake --add-missing
+ }
+
+ einfo "Patching ${OLD_S##*/} ..."
+ epatch ${FILESDIR}/1.4.3/${PN}-1.2f-cache.patch
+ epatch ${FILESDIR}/1.4.3/${PN}-1.3.5-nonneg.patch
+ epatch ${FILESDIR}/1.4.3/${PN}-1.3.5-mktemp.patch
+ epatch ${FILESDIR}/ltconfig-uclibc.patch
+
+ use hppa && S="${OLD_S}" gnuconfig_update
+ use amd64 && S="${OLD_S}" gnuconfig_update
+ use ppc64 && S="${OLD_S}" gnuconfig_update
+ use uclibc && S="${OLD_S}" gnuconfig_update
+
+ cd ${S}
+ echo
+ # Install updated missing script
+# portageq has_version / "sys-devel/automake" && {
+# rm -f missing
+# automake --add-missing
+# }
+
+ # Make sure non of the patches touch ltmain.sh, but rather ltmain.in
+ rm -f ltmain.sh*
+
+ einfo "Patching ${S##*/} ..."
+ # Redhat patches
+ epatch ${FILESDIR}/1.4.3/${PN}-1.4-nonneg.patch
+ # Fix the relink problem where the relinked libs do not get
+ # installed. It is *VERY* important that you get a updated
+ # 'libtool-1.4.3-relink.patch' if you update this, as it
+ # fixes a very serious bug. Please not that this patch is
+ # included in 'libtool-1.4.3-gentoo.patch' for this ebuild.
+ #
+ # NOTE: all affected apps should get a 'libtoolize --copy --force'
+ # added to update libtool
+ #
+# Seems to be included in shipped tarball ...
+# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-relink-58664.patch
+
+ epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-multilib.patch
+ epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-demo.patch
+ epatch ${FILESDIR}/1.5.2/${PN}-1.5-libtool.m4-x86_64.patch
+ epatch ${FILESDIR}/1.5.2/${PN}-1.5-testfailure.patch
+ # Mandrake patches
+ epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-lib64.patch
+# Fix bug #43244
+# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch
+ epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-archive-shared.patch
+ epatch ${FILESDIR}/1.5.6/${PN}-1.5.6-ltmain-SED.patch
+ epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-expsym-linux.patch
+ epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-amd64-alias.patch
+ epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-libtoolize--config-only.patch
+ epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-pass-thread-flags.patch
+
+ # Gentoo Patches
+ # Do not create bogus entries in $dependency_libs or $libdir
+ # with ${D} or ${S} in them.
+ # <azarah@gentoo.org> - (07 April 2002)
+ epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-portage.patch
+ # If a package use an older libtool, and libtool.m4 for that
+ # package is updated, but not libtool, then we run into an
+ # issue where $shared_ext is not set. This results in libraries
+ # being built without '.so' extension, bug #40901
+ # <azarah@gentoo.org> - (11 Feb 2004)
+ epatch ${FILESDIR}/1.5.2/${PN}-1.5.2-libtool_m4-shared_ext.patch
+ # For older autoconf setups's that do not support libtool.m4,
+ # $max_cmd_len are never set, causing all tests against it to
+ # fail, resulting in 'integer expression expected' errors and
+ # possible misbehaviour.
+ # <azarah@gentoo.org> - (11 Feb 2004)
+ epatch ${FILESDIR}/1.5.2/${PN}-1.5.2-ltmain_sh-max_cmd_len.patch
+
+ einfo "Generate ltmain.sh ..."
+ gen_ltmain_sh || die "Failed to generate ltmain.sh!"
+}
+
+src_compile() {
+ lt_setup
+
+ #
+ # ************ libtool-1.3x ************
+ #
+
+ cd ${OLD_S}
+
+ # Detect mips/mips64
+ use mips && gnuconfig_update
+
+ # regen to allow for build,host,target ppc64
+ use ppc64 && gnuconfig_update
+
+ # detect uclibc
+ use uclibc && gnuconfig_update
+
+ einfo "Configuring ${OLD_S##*/} ..."
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info || die
+
+ einfo "Building ${OLD_S##*/} ..."
+ emake || die
+
+ #
+ # ************ libtool-1.5x ************
+ #
+
+ cd ${S}
+
+ # Detect mips/mips64
+ use mips && gnuconfig_update
+
+ use uclibc && gnuconfig_update
+
+ einfo "Configuring ${S##*/} ..."
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info || die
+
+ einfo "Building ${S##*/} ..."
+ emake || die
+}
+
+src_install() {
+ #
+ # ************ libtool-1.3x ************
+ #
+
+ einfo "Installing ${OLD_S##*/} ..."
+ cd ${OLD_S}/libltdl; make DESTDIR=${D} install || die
+
+ # Remove stuff we are not going to use ...
+ for x in libltdl.a libltdl.la libltdl.so
+ do
+ [ -f ${x} ] && rm -f ${D}/usr/lib/${x}
+ done
+ rm -rf ${D}/usr/include
+
+ #
+ # ************ libtool-1.5x ************
+ #
+
+ einfo "Installing ${S##*/} ..."
+ cd ${S}; make DESTDIR=${D} install || die
+
+ if use uclibc ; then
+ 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
+ cd ${S}
+ fi
+
+ dodoc AUTHORS ChangeLog* NEWS README THANKS TODO doc/PLATFORMS
+}