blob: 82f1adc8a91297f0a4a3072470d8c84973729d0f (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jthread/jthread-1.3.1.ebuild,v 1.2 2013/02/16 22:32:27 ago Exp $
EAPI=5
inherit cmake-utils
DESCRIPTION="JThread provides some classes to make use of threads easy on different platforms."
HOMEPAGE="http://research.edm.uhasselt.be/~jori/page/index.php?n=CS.Jthread"
SRC_URI="http://research.edm.uhasselt.be/jori/${PN}/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="static-libs"
DOCS=( ChangeLog README.TXT TODO doc/manual.tex )
src_prepare() {
# do not build static library, if it is not requested
if ! use static-libs; then
sed -i -e '/jthread-static/d' src/CMakeLists.txt || die 'sed on src/CMakeLists.txt failed'
fi
}
|