blob: 13c5550fb15b20699afe43d09f5fcfe10fd868ce (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs
DESCRIPTION="A logging library for C/C++ programs"
HOMEPAGE="https://sourceforge.net/projects/dclog/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
sed -i Makefile -e '/ -o /s|${CFLAGS}|& ${LDFLAGS}|g' || die "sed Makefile"
default
}
src_compile() {
emake CC=$(tc-getCC) all
}
src_install() {
emake DESTDIR="${D}" PREFIX=/usr install
dodoc VERSION
dodoc docs/html/*
}
|