summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-06 22:03:58 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-06 22:03:58 +0000
commit9b8c8273183d30287def4c82777d1d4edaa40307 (patch)
treeec2dd619b807248624ce372dda10381807780638 /dev-libs
parentSTLport is NOT SUPPOSED TO HAVE a pkgconfig file (Manifest recommit) (diff)
downloadgentoo-2-9b8c8273183d30287def4c82777d1d4edaa40307.tar.gz
gentoo-2-9b8c8273183d30287def4c82777d1d4edaa40307.tar.bz2
gentoo-2-9b8c8273183d30287def4c82777d1d4edaa40307.zip
a+r /usr/include/stlport #56245
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/STLport/ChangeLog7
-rw-r--r--dev-libs/STLport/STLport-4.6.2-r2.ebuild52
-rw-r--r--dev-libs/STLport/files/digest-STLport-4.6.2-r21
3 files changed, 59 insertions, 1 deletions
diff --git a/dev-libs/STLport/ChangeLog b/dev-libs/STLport/ChangeLog
index 99aeb6c8ecea..60692cc25b77 100644
--- a/dev-libs/STLport/ChangeLog
+++ b/dev-libs/STLport/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/STLport
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.18 2004/07/06 22:01:47 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.19 2004/07/06 22:03:58 vapier Exp $
+
+*STLport-4.6.2-r2 (06 Jul 2004)
+
+ 06 Jul 2004; Mike Frysinger <vapier@gentoo.org> +STLport-4.6.2-r2.ebuild:
+ Make sure all the include files can be read by everyone #56245 by Akim Boyko.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
STLport-4.5.3-r3.ebuild, STLport-4.6.2.ebuild:
diff --git a/dev-libs/STLport/STLport-4.6.2-r2.ebuild b/dev-libs/STLport/STLport-4.6.2-r2.ebuild
new file mode 100644
index 000000000000..3a9bc2c3ab78
--- /dev/null
+++ b/dev-libs/STLport/STLport-4.6.2-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/STLport-4.6.2-r2.ebuild,v 1.1 2004/07/06 22:03:58 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="C++ STL library"
+HOMEPAGE="http://www.stlport.org/"
+SRC_URI="http://www.stlport.org/archive/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-optimize.patch
+ epatch ${FILESDIR}/${PV}-gcc-includes.patch
+ sed -i 's:-D_STLP_REAL_LOCALE_IMPLEMENTED::' src/gcc-linux.mak
+}
+
+src_compile() {
+ cd src
+ emake -f gcc-linux.mak || die "Compile failed"
+}
+
+src_install() {
+ dodir /usr/include
+ cp -R ${S}/stlport ${D}/usr/include
+ rm -rf ${D}/usr/include/stlport/BC50
+ chmod -R a+r ${D}/usr/include/stlport
+
+ dodir /usr/lib
+ cp -R ${S}/lib/* ${D}/usr/lib/
+ dosym libstlport_gcc_stldebug.so /usr/lib/libstlport_gcc_debug.so
+ rm -rf ${D}/usr/lib/obj
+
+ cd ${S}/etc/
+ dodoc ChangeLog* README TODO *.txt
+
+ cd ${S}
+ dohtml -r doc
+}
+
+pkg_postinst() {
+ einfo "Running \`chmod -R a+r ${ROOT}/usr/include/stlport\` to fix #56245"
+ chmod -R a+r ${ROOT}/usr/include/stlport
+}
diff --git a/dev-libs/STLport/files/digest-STLport-4.6.2-r2 b/dev-libs/STLport/files/digest-STLport-4.6.2-r2
new file mode 100644
index 000000000000..15e2434fee7a
--- /dev/null
+++ b/dev-libs/STLport/files/digest-STLport-4.6.2-r2
@@ -0,0 +1 @@
+MD5 4c01c84f1212369ceb369567ed06d1a2 STLport-4.6.2.tar.gz 755958