37
|
1 |
# Copyright 1999-2012 Gentoo Foundation |
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
|
3 |
# $Header: $ |
|
4 |
|
|
5 |
EAPI=4 |
|
6 |
|
|
7 |
inherit git-2 scons-utils |
|
8 |
|
|
9 |
DESCRIPTION="Xmpp library in c++" |
|
10 |
HOMEPAGE="http://swift.im/swiften/" |
|
11 |
SRC_URI="" |
|
12 |
EGIT_REPO_URI="http://swift.im/git/swift" |
|
13 |
|
|
14 |
LICENSE="GPL-3" |
|
15 |
SLOT="0" |
|
16 |
KEYWORDS="~amd64" |
|
17 |
IUSE="" |
|
18 |
|
|
19 |
# S="${WORKDIR}/swift/Swiften" |
|
20 |
|
|
21 |
DEPEND="dev-libs/boost" |
|
22 |
RDEPEND="dev-libs/boost" |
|
23 |
|
|
24 |
src_configure() { |
|
25 |
myesconsargs=( |
|
26 |
swiften_dll=1 # build dynamic |
|
27 |
) |
|
28 |
} |
|
29 |
|
|
30 |
src_compile() { |
|
31 |
pwd |
|
32 |
escons Swiften |
|
33 |
} |
|
34 |
|
|
35 |
src_install() { |
|
36 |
escons SWIFTEN_INSTALLDIR="${D}/usr" Swiften "${D}/usr" |
|
37 |
} |