summaryrefslogtreecommitdiff
blob: 653ab17f94b3da7949e04240cf33d39ba06ff138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn2/libidn2-0.10.ebuild,v 1.2 2014/12/11 10:33:35 jer Exp $

EAPI=5
inherit autotools eutils

DESCRIPTION="An implementation of the IDNA2008 specifications (RFC 5890, RFC 5891, RFC 5892, RFC 5893)"
HOMEPAGE="http://www.gnu.org/software/libidn/#libidn2"
SRC_URI="mirror://gnu-alpha/libidn/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="static-libs"

src_prepare() {
	epatch "${FILESDIR}"/${P}-examples.patch
	epatch "${FILESDIR}"/${P}-Werror.patch
	eautoreconf
}

src_configure() {
	econf \
		$(use_enable static-libs static)
}