/[gentoo-x86]/net-libs/adns/adns-1.4-r1.ebuild
Gentoo

Contents of /net-libs/adns/adns-1.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed May 9 16:46:12 2012 UTC (2 years, 2 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha102/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/adns/adns-1.4-r1.ebuild,v 1.2 2010/06/15 16:46:12 hwoarang Exp $
4
5 EAPI="2"
6
7 inherit eutils multilib toolchain-funcs
8
9 DESCRIPTION="Advanced, easy to use, asynchronous-capable DNS client library and utilities"
10 HOMEPAGE="http://www.chiark.greenend.org.uk/~ian/adns/"
11 SRC_URI="ftp://ftp.chiark.greenend.org.uk/users/ian/adns/${P}.tar.gz"
12
13 LICENSE="LGPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND=""
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${P}-cnamechain.patch
23 #remove bogus test wrt bug #295072
24 rm "${S}"/regress/case-cnametocname.sys
25 }
26
27 src_configure() {
28 CC=$(tc-getCC) econf || die "econf failed"
29 }
30
31 src_compile() {
32 emake AR=$(tc-getAR) RANLIB=$(tc-getRANLIB) || die "emake failed"
33 }
34
35 src_install () {
36 dodir /usr/{include,bin,$(get_libdir)}
37 emake prefix="${D}"/usr libdir="${D}"/usr/$(get_libdir) install || die "emake install failed"
38 dodoc README TODO changelog "${FILESDIR}"/README.security
39 dohtml *.html
40 }
41
42 pkg_postinst() {
43 ewarn "$(<${FILESDIR}/README.security)"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20