summaryrefslogtreecommitdiff
blob: 4a6285f580ad795f5b856fc1882eb62c17fd6c92 (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
27
28
29
30
31
32
33
34
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgpg-error/libgpg-error-1.0.ebuild,v 1.7 2004/09/19 08:17:55 kumba Exp $

inherit gnuconfig

DESCRIPTION="Contains error handling functions used by GnuPG software"
HOMEPAGE="http://www.gnupg.org/(en)/download/index.html#libgpg-error"
SRC_URI="ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.gz"

LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="x86 ~ppc sparc mips ~alpha ~hppa ~amd64 ~ia64 ~ppc64 macos ppc-macos"
IUSE=""
#IUSE="nls"

DEPEND="virtual/libc"
#RDEPEND="nls? ( sys-devel/gettext )"

src_unpack() {
	unpack ${A}
	gnuconfig_update
}

src_compile() {
	#econf `use_enable nls` || die
	econf || die
	emake || die
}

src_install() {
	make install DESTDIR="${D}" || die
	dodoc AUTHORS ChangeLog NEWS README
}