blob: 081e8f0cb752ce6996ec4b2727d58f0f5865537c (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/rudiments/rudiments-0.40.ebuild,v 1.1 2013/02/07 10:05:32 dev-zero Exp $
EAPI="5"
inherit autotools eutils
DESCRIPTION="C++ class library for daemons, clients and servers"
HOMEPAGE="http://rudiments.sourceforge.net/"
SRC_URI="mirror://sourceforge/rudiments/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug pcre ssl static-libs"
DEPEND="pcre? ( dev-libs/libpcre )
ssl? ( dev-libs/openssl )"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}/${PV}-configure.patch"
eautoconf
}
src_configure() {
econf \
--docdir="/usr/share/doc/${PF}/html" \
$(use_enable debug) \
$(use_enable pcre) \
$(use_enable ssl) \
$(use_enable static-libs static)
}
src_install() {
default
prune_libtool_files
}
|