blob: 02b83e6645e642eef3971d4c79d645650b0b79da (
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
|
# 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.5.ebuild,v 1.3 2002/07/11 06:30:20 drobbins Exp $
S=${WORKDIR}/${P}
DESCRIPTION="C++ STL library"
SRC_URI="http://www.stlport.org/archive/STLport-4.5.tar.gz"
HOMEPAGE="http://www.stlport.org"
DEPEND=""
src_compile() {
cd ${S}/src
make -f gcc-linux.mak
}
src_install () {
dodir usr/include
cp -R ${S}/stlport ${D}/usr/include
rm -rf ${D}/usr/include/stlport/BC50
dodir usr/lib
cp -R ${S}/lib/* ${D}/usr/lib/
rm -rf ${D}/usr/lib/obj
cd ${S}/etc/
dodoc ChangeLog* README TODO *.txt
cd ${S}
dohtml -r doc
}
|