You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/dclog/dclog-1.1.1-r2.ebuild

31 lines
593 B

# 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/*
}