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