summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-02 04:59:16 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-02 04:59:16 +0000
commitae786472fbb4c9241dd6dc2e96efc408c0a7dc19 (patch)
treec4f31ed3f3557a45324bdd435336266081dfc913 /dev-libs
parent2.1_pre5-r2 regression fix release (diff)
downloadgentoo-2-ae786472fbb4c9241dd6dc2e96efc408c0a7dc19.tar.gz
gentoo-2-ae786472fbb4c9241dd6dc2e96efc408c0a7dc19.tar.bz2
gentoo-2-ae786472fbb4c9241dd6dc2e96efc408c0a7dc19.zip
Version bump.
(Portage version: 2.1_pre5-r1)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/STLport/ChangeLog7
-rw-r--r--dev-libs/STLport/STLport-5.0.2.ebuild59
-rw-r--r--dev-libs/STLport/files/digest-STLport-5.0.23
3 files changed, 68 insertions, 1 deletions
diff --git a/dev-libs/STLport/ChangeLog b/dev-libs/STLport/ChangeLog
index 90bd24bd3677..3e23799720ae 100644
--- a/dev-libs/STLport/ChangeLog
+++ b/dev-libs/STLport/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/STLport
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.27 2006/02/08 22:18:43 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.28 2006/03/02 04:59:16 vapier Exp $
+
+*STLport-5.0.2 (02 Mar 2006)
+
+ 02 Mar 2006; Mike Frysinger <vapier@gentoo.org> +STLport-5.0.2.ebuild:
+ Version bump.
*STLport-5.0.1 (08 Feb 2006)
diff --git a/dev-libs/STLport/STLport-5.0.2.ebuild b/dev-libs/STLport/STLport-5.0.2.ebuild
new file mode 100644
index 000000000000..750a209c557a
--- /dev/null
+++ b/dev-libs/STLport/STLport-5.0.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/STLport-5.0.2.ebuild,v 1.1 2006/03/02 04:59:16 vapier Exp $
+
+inherit eutils multilib
+
+MY_P=${PN}-${PV/_rc/RC}
+DESCRIPTION="C++ STL library"
+HOMEPAGE="http://stlport.sourceforge.net/"
+SRC_URI="mirror://sourceforge/stlport/${P}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e 's:OPT += -O2::' \
+ -e 's:OPT += -g::' \
+ build/Makefiles/gmake/{,lib/,app/}*.mak \
+ || die "sed opts failed"
+
+ cat <<- EOF >> stlport/config/stl_gcc.h
+ #undef _STLP_NATIVE_INCLUDE_PATH
+ #define _STLP_NATIVE_INCLUDE_PATH ../g++-v3
+ EOF
+}
+
+src_compile() {
+ export OPT=${CXXFLAGS}
+ emake \
+ -C build/lib \
+ -f gcc.mak \
+ depend all || die "Compile failed"
+}
+
+src_install() {
+ dodir /usr/$(get_libdir)
+ cp -pPR build/lib/obj/*/*/libstlport*.so* "${D}"/usr/$(get_libdir)/ || die "dolib.so failed"
+
+ dodir /usr/include
+ cp -R "${S}"/stlport "${D}"/usr/include
+ rm -r "${D}"/usr/include/stlport/BC50
+ chmod -R a+r "${D}"/usr/include/stlport
+
+ cd "${S}"/etc/
+ dodoc ChangeLog* ../README *.txt
+
+ cd "${S}"
+ dohtml -r doc/*
+}
diff --git a/dev-libs/STLport/files/digest-STLport-5.0.2 b/dev-libs/STLport/files/digest-STLport-5.0.2
new file mode 100644
index 000000000000..bd60f8b7fb54
--- /dev/null
+++ b/dev-libs/STLport/files/digest-STLport-5.0.2
@@ -0,0 +1,3 @@
+MD5 784be5e0499009aeea6e9ec8f7259c41 STLport-5.0.2.tar.bz2 636340
+RMD160 048130af677b269b12cb1b12552ec7c443abe49a STLport-5.0.2.tar.bz2 636340
+SHA256 215fee03d5da5f8190b8d5776f1b2f49fe6078fce4858e62638fd5f114038f02 STLport-5.0.2.tar.bz2 636340