Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 488278 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-libs/libasyncns/libasyncns-0.8-r2.ebuild (-12 / +14 lines)
Lines 1-9 Link Here
1
# Copyright 1999-2012 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-libs/libasyncns/libasyncns-0.8-r2.ebuild,v 1.11 2012/12/20 17:40:53 hasufell Exp $
3
# $Header: $
4
4
5
EAPI=3
5
EAPI=5
6
inherit eutils libtool flag-o-matic
6
inherit eutils flag-o-matic libtool multilib multilib-minimal
7
7
8
DESCRIPTION="C library for executing name service queries asynchronously."
8
DESCRIPTION="C library for executing name service queries asynchronously."
9
HOMEPAGE="http://0pointer.de/lennart/projects/libasyncns/"
9
HOMEPAGE="http://0pointer.de/lennart/projects/libasyncns/"
Lines 12-18 Link Here
12
SLOT="0"
12
SLOT="0"
13
13
14
LICENSE="LGPL-2.1"
14
LICENSE="LGPL-2.1"
15
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-linux ~x86-linux"
15
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
16
16
17
IUSE="doc debug"
17
IUSE="doc debug"
18
18
Lines 25-34 Link Here
25
	elibtoolize
25
	elibtoolize
26
}
26
}
27
27
28
src_configure() {
28
multilib_src_configure() {
29
	# libasyncns uses assert()
29
	# libasyncns uses assert()
30
	use debug || append-cppflags -DNDEBUG
30
	use debug || append-cppflags -DNDEBUG
31
31
32
	ECONF_SOURCE=${S} \
32
	econf \
33
	econf \
33
		--docdir="${EPREFIX}"/usr/share/doc/${PF} \
34
		--docdir="${EPREFIX}"/usr/share/doc/${PF} \
34
		--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
35
		--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
Lines 37-58 Link Here
37
		--disable-static
38
		--disable-static
38
}
39
}
39
40
40
src_compile() {
41
multilib_src_compile() {
41
	emake || die "emake failed"
42
	emake || die "emake failed"
42
43
43
	if use doc; then
44
	if [[ ${ABI} == ${DEFAULT_ABI} ]] && use doc; then
44
		doxygen doxygen/doxygen.conf || die "doxygen failed"
45
		doxygen doxygen/doxygen.conf || die "doxygen failed"
45
	fi
46
	fi
46
}
47
}
47
48
48
src_install() {
49
multilib_src_install() {
49
	emake DESTDIR="${D}" install || die "emake install failed"
50
	emake DESTDIR="${D}" install || die "emake install failed"
50
	find "${D}" -name '*.la' -delete
51
51
52
	if use doc; then
52
	if [[ ${ABI} == ${DEFAULT_ABI} ]] && use doc; then
53
		docinto apidocs
53
		docinto apidocs
54
		dohtml html/*
54
		dohtml html/*
55
	fi
55
	fi
56
}
56
57
57
	prepalldocs
58
multilib_src_install_all() {
59
	find "${D}" -name '*.la' -delete
58
}
60
}

Return to bug 488278