Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 529024
Collapse All | Expand All

(-)/usr/portage/dev-libs/libunistring/libunistring-0.9.3-r1.ebuild (-5 / +11 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2013 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/dev-libs/libunistring/libunistring-0.9.3-r1.ebuild,v 1.5 2013/05/08 18:34:28 grobian Exp $
3
# $Header: $
4
4
5
EAPI="3"
5
EAPI="5"
6
6
7
inherit eutils
7
inherit eutils
8
8
Lines 11-24 Link Here
11
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
11
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
12
12
13
LICENSE="LGPL-3 GPL-3"
13
LICENSE="LGPL-3 GPL-3"
14
SLOT="0"
14
SLOT="0/2"
15
KEYWORDS="amd64 ~arm x86 ~amd64-linux"
15
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux"
16
IUSE="doc"
16
IUSE="doc static-libs"
17
17
18
src_prepare() {
18
src_prepare() {
19
	epatch "${FILESDIR}"/${PN}-nodocs.patch
19
	epatch "${FILESDIR}"/${PN}-nodocs.patch
20
}
20
}
21
21
22
src_configure() {
23
	econf $(use_enable static-libs static)
24
}
25
22
src_install() {
26
src_install() {
23
	dodoc AUTHORS README ChangeLog || die "dodoc failed"
27
	dodoc AUTHORS README ChangeLog || die "dodoc failed"
24
	if use doc; then
28
	if use doc; then
Lines 27-30 Link Here
27
	fi
31
	fi
28
32
29
	emake DESTDIR="${D}" install || die "Install failed"
33
	emake DESTDIR="${D}" install || die "Install failed"
34
35
	prune_libtool_files
30
}
36
}

Return to bug 529024