diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2010-06-01 20:43:06 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2010-06-01 20:43:06 +0000 |
commit | c0bcef891071f248e0485f9a13a29fcaa8b7ce9d (patch) | |
tree | c8ad40ba613e97064556f7248495297037a5da4b /net-libs/libasyncns | |
parent | Add ~x86-linux, bug 321025 (diff) | |
download | gentoo-2-c0bcef891071f248e0485f9a13a29fcaa8b7ce9d.tar.gz gentoo-2-c0bcef891071f248e0485f9a13a29fcaa8b7ce9d.tar.bz2 gentoo-2-c0bcef891071f248e0485f9a13a29fcaa8b7ce9d.zip |
Version bump (bug 309355), add Gentoo Prefix support (bug 321023)
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libasyncns')
-rw-r--r-- | net-libs/libasyncns/ChangeLog | 9 | ||||
-rw-r--r-- | net-libs/libasyncns/libasyncns-0.8.ebuild | 52 |
2 files changed, 59 insertions, 2 deletions
diff --git a/net-libs/libasyncns/ChangeLog b/net-libs/libasyncns/ChangeLog index e3aa5d2c3a71..bc67a8adb119 100644 --- a/net-libs/libasyncns/ChangeLog +++ b/net-libs/libasyncns/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/libasyncns -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libasyncns/ChangeLog,v 1.14 2009/04/28 17:46:37 armin76 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libasyncns/ChangeLog,v 1.15 2010/06/01 20:43:06 darkside Exp $ + +*libasyncns-0.8 (01 Jun 2010) + + 01 Jun 2010; Jeremy Olexa <darkside@gentoo.org> +libasyncns-0.8.ebuild: + Version bump (bug 309355), add Gentoo Prefix support (bug 321023) 28 Apr 2009; Raúl Porcel <armin76@gentoo.org> libasyncns-0.3.ebuild: arm/sh stable diff --git a/net-libs/libasyncns/libasyncns-0.8.ebuild b/net-libs/libasyncns/libasyncns-0.8.ebuild new file mode 100644 index 000000000000..7eb13dd78101 --- /dev/null +++ b/net-libs/libasyncns/libasyncns-0.8.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libasyncns/libasyncns-0.8.ebuild,v 1.1 2010/06/01 20:43:06 darkside Exp $ + +EAPI=3 +inherit libtool flag-o-matic + +DESCRIPTION="C library for executing name service queries asynchronously." +HOMEPAGE="http://0pointer.de/lennart/projects/libasyncns/" +SRC_URI="http://0pointer.de/lennart/projects/libasyncns/${P}.tar.gz" + +SLOT="0" + +LICENSE="LGPL-2.1" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-linux" + +IUSE="doc debug" + +RDEPEND="" +DEPEND="doc? ( app-doc/doxygen )" + +src_prepare() { + elibtoolize +} + +src_configure() { + # libasyncns uses assert() + use debug || append-flags -DNDEBUG + + econf \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ + --disable-dependency-tracking \ + --disable-lynx +} + +src_compile() { + emake || die "emake failed" + + if use doc; then + doxygen doxygen/doxygen.conf || die "doxygen failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + if use doc; then + docinto apidocs + dohtml html/* + fi +} |