summaryrefslogtreecommitdiff
blob: 7cd11c61c31e6c372dbb4cea494a2cca643e1512 (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
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/STLport-4.0.ebuild,v 1.2 2002/07/11 06:30:20 drobbins 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}
	   
}