1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils multilib
9 DESCRIPTION="Loki C++ library from Modern C++ Design"
10 HOMEPAGE="http://www.libferris.com/"
11 SRC_URI="mirror://sourceforge/witme/${P}.tar.bz2"
15 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
16 IUSE="static-libs stlport"
18 RDEPEND="stlport? ( >=dev-libs/STLport-5 )
24 # derice this damn configure script
26 -e '/^CFLAGS/{s: -O3 : :g;s:-Wl,-O1 -Wl,--hash-style=both::;}' \
27 -e 's:-lstlport_gcc:-lstlport:' \
35 --libdir="${EPREFIX}/usr/$(get_libdir)" \
36 --with-stlport="${EPREFIX}/usr/include/stlport" \
37 $(use_enable stlport) \
38 $(use_enable static-libs static)