blob: c79091d193ae48e8ff9ec28a1d5dfa62ea0e073e (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit cmake-utils
DESCRIPTION="SimCList is a high quality C (C++ embeddable) library for handling lists"
HOMEPAGE="http://mij.oltrelinux.com/devel/simclist"
SRC_URI="${HOMEPAGE}/${P/_/}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
S="${WORKDIR}/${P/_/}"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
src_compile(){
cmake-utils_src_compile
if use doc; then
doxygen || die "doxygen failed"
fi
}
src_install() {
mkdir -p "${D}"/usr/include
cp simclist.h "${D}"/usr/include/
cd "${CMAKE_BUILD_DIR}"
dolib libsimclist.so
cd "${S}"
if use doc; then
dohtml -r doc/html/*
fi
if use examples; then
docinto examples
dodoc examples/*
fi
}
|