blob: d552dfb6024ff63c63a66e58338b2f7d57eaa9b4 (
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
44
45
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/swl-0.4.0.ebuild,v 1.1 2005/09/11 14:18:27 trapni Exp $
inherit flag-o-matic multilib
DESCRIPTION="SWL is a C++ cross platform library."
HOMEPAGE="http://swl.trapni-akane.org/"
SRC_URI="http://upstream.trapni-akane.org/swl/${P/_/-}.tbz2"
LICENSE="LGPL-2.1"
SLOT="0.4"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug ipv6"
RESTRICT="nostrip"
DEPEND=">=sys-libs/glibc-2.3.4
>=sys-devel/gcc-3.4.3"
S="${WORKDIR}/${P/_/-}"
src_compile() {
use debug && append-flags -g3
use debug || append-flags -DNDEBUG=1
./configure \
--prefix="/usr" \
--host="${CHOST}" \
--libdir="/usr/$(get_libdir)" \
--disable-acl \
--disable-crypto \
`use_enable ipv6` \
--without-tests \
--without-examples \
|| die "./configure for ABI ${ABI} failed"
emake || die "make for ABI ${ABI} failed"
}
src_install() {
make install DESTDIR="${D}" || die
dodoc AUTHORS ChangeLog* NEWS README* TODO
}
# vim:ai:noet:ts=4:nowrap
|