summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-08 05:08:28 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-08 05:08:28 +0000
commitad05e312c27447990e76491df6e595829e37f6ab (patch)
treebec6514390a123102cf5186b3608c982abad6bc1 /dev-libs/STLport
parentold (diff)
downloadgentoo-2-ad05e312c27447990e76491df6e595829e37f6ab.tar.gz
gentoo-2-ad05e312c27447990e76491df6e595829e37f6ab.tar.bz2
gentoo-2-ad05e312c27447990e76491df6e595829e37f6ab.zip
Version bump by Sebastien Fabbro #122000.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-libs/STLport')
-rw-r--r--dev-libs/STLport/ChangeLog9
-rw-r--r--dev-libs/STLport/STLport-5.0.1.ebuild59
-rw-r--r--dev-libs/STLport/files/digest-STLport-5.0.13
3 files changed, 69 insertions, 2 deletions
diff --git a/dev-libs/STLport/ChangeLog b/dev-libs/STLport/ChangeLog
index 2f017bdc964e..9c89973207df 100644
--- a/dev-libs/STLport/ChangeLog
+++ b/dev-libs/STLport/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/STLport
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.25 2005/11/29 03:44:40 tgall Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.26 2006/02/08 05:08:28 vapier Exp $
+
+*STLport-5.0.1 (08 Feb 2006)
+
+ 08 Feb 2006; Mike Frysinger <vapier@gentoo.org> +STLport-5.0.1.ebuild:
+ Version bump by Sebastien Fabbro #122000.
28 Nov 2005; Tom Gall <tgall@gentoo.org> STLport-4.6.2-r2.ebuild:
stable on ppc64
diff --git a/dev-libs/STLport/STLport-5.0.1.ebuild b/dev-libs/STLport/STLport-5.0.1.ebuild
new file mode 100644
index 000000000000..f662133ff61b
--- /dev/null
+++ b/dev-libs/STLport/STLport-5.0.1.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.1.ebuild,v 1.1 2006/02/08 05:08:28 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.1 b/dev-libs/STLport/files/digest-STLport-5.0.1
new file mode 100644
index 000000000000..6bc3efd804f1
--- /dev/null
+++ b/dev-libs/STLport/files/digest-STLport-5.0.1
@@ -0,0 +1,3 @@
+MD5 461cc1b11322568d75e3c0a4a1944cd1 STLport-5.0.1.tar.bz2 634250
+RMD160 00c22cc00f5fe8563941d9a90d6af9a4e895a9ae STLport-5.0.1.tar.bz2 634250
+SHA256 480cd36c07b4f06f4ae0fe5dc8bd86a5ab76820764a87f40467a16f009a79a4f STLport-5.0.1.tar.bz2 634250