summaryrefslogtreecommitdiff
blob: 983b34c8ddfb798f9d03af2da866056bee701b7d (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/adns-1.1.ebuild,v 1.11 2005/04/22 20:43:38 hansmi Exp $

inherit eutils multilib

DESCRIPTION="Advanced, easy to use, asynchronous-capable DNS client library and utilities"
HOMEPAGE="http://www.chiark.greenend.org.uk/~ian/adns/"
SRC_URI="ftp://ftp.chiark.greenend.org.uk/users/ian/adns/${P}.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc alpha hppa ~mips ia64 amd64 ppc64"
IUSE=""

DEPEND="virtual/libc"
RDEPEND=""

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${PV}-gcc34.patch
}

src_install () {
	dodir /usr/{include,bin,$(get_libdir)}
	make prefix=${D}/usr lib_dir=${D}/usr/$(get_libdir) install || die
	dodoc README TODO
	dohtml *.html

	dosym libadns.so.1 /usr/$(get_libdir)/libadns.so
}