blob: 31e81af9650f222135c4498e8d4498ec199dad67 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdnsres/libdnsres-0.1a-r1.ebuild,v 1.8 2007/11/16 15:30:03 beandog Exp $
WANT_AUTOMAKE=1.8
inherit autotools
DESCRIPTION="A non-blocking DNS resolver library"
HOMEPAGE="http://www.monkey.org/~provos/libdnsres/"
SRC_URI="http://www.monkey.org/~provos/${P}.tar.gz"
LICENSE="|| ( as-is BSD )"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
IUSE=""
DEPEND="dev-libs/libevent"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e "s:LIBOBJS:LTLIBOBJS:" \
-e "s:CFLAGS:AM_CFLAGS:" Makefile.am || die "sed of Makefile.am failed"
# See Makefile.in for automake version upstream dev uses.
eautomake || die "automake failed"
}
src_compile() {
econf || die "econf failed"
emake -j1 || die "make failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc README
}
|