| 1 |
mr_bones_ |
1.1 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
josejx |
1.8 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/eventlog/eventlog-0.2.12.ebuild,v 1.7 2010/09/12 16:15:55 armin76 Exp $
|
| 4 |
mr_bones_ |
1.1 |
|
| 5 |
|
|
EAPI=2
|
| 6 |
|
|
inherit libtool eutils
|
| 7 |
|
|
|
| 8 |
|
|
DESCRIPTION="Support library for syslog-ng"
|
| 9 |
|
|
HOMEPAGE="http://www.balabit.com/products/syslog_ng/"
|
| 10 |
|
|
SRC_URI="http://www.balabit.com/downloads/files/eventlog/0.2//eventlog_${PV}.tar.gz"
|
| 11 |
|
|
|
| 12 |
|
|
LICENSE="BSD"
|
| 13 |
|
|
SLOT="0"
|
| 14 |
josejx |
1.8 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
| 15 |
mr_bones_ |
1.1 |
IUSE="static-libs"
|
| 16 |
|
|
|
| 17 |
|
|
DEPEND=""
|
| 18 |
|
|
|
| 19 |
|
|
src_prepare() {
|
| 20 |
|
|
epunt_cxx
|
| 21 |
|
|
elibtoolize
|
| 22 |
|
|
}
|
| 23 |
|
|
|
| 24 |
|
|
src_configure() {
|
| 25 |
|
|
econf \
|
| 26 |
|
|
--disable-dependency-tracking \
|
| 27 |
|
|
$(use_enable static-libs static)
|
| 28 |
|
|
}
|
| 29 |
|
|
|
| 30 |
|
|
src_install() {
|
| 31 |
|
|
emake DESTDIR="${D}" install || die "emake install failed"
|
| 32 |
|
|
dodoc AUTHORS CREDITS ChangeLog NEWS PORTS README
|
| 33 |
|
|
if ! use static-libs ; then
|
| 34 |
|
|
find "${D}" -type f -name '*.la' -exec rm {} + \
|
| 35 |
|
|
|| die "la removal failed"
|
| 36 |
|
|
fi
|
| 37 |
|
|
}
|