summaryrefslogtreecommitdiff
blob: cf178f29282585920f48786ad18aa5cd583cfbd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Karl Trygve Kalleberg <karltk@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/STLport-4.0.ebuild,v 1.1 2001/12/06 20:37:44 danarmak Exp $
# specially modified from the 4.5 ebuild for openoffice - danarmak

S=${WORKDIR}/${P}

DESCRIPTION="C++ STL library"

SRC_URI="http://www.stlport.org/archive/STLport-4.0.tar.gz"

HOMEPAGE="http://www.stlport.org"

DEPEND="sys-devel/gcc"

src_compile() {

	cd ${S}/src
	make -f gcc.mak clean all
}

src_install () {

	target=/usr/lib/${P}

	dodir ${target}/include
	cp -R ${S}/stlport ${D}/${target}/include
	rm -rf ${D}/${target}/include/stlport/BC50
		
	dodir ${target}/lib
	cp -R ${S}/lib/* ${D}/${target}/lib/
	rm -rf ${D}/${target}/lib/obj

	dodir usr/share/doc/${P}/html	
	cp -R ${S}/doc/* ${D}/usr/share/doc/${P}/html
	
	insinto /etc/env.d
	doins ${FILESDIR}/50${P}
	   
}