| 1 |
# Copyright 1999-2006 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgpg-error/libgpg-error-1.3-r1.ebuild,v 1.1 2006/07/30 10:05:58 flameeyes Exp $
|
| 4 |
|
| 5 |
EAPI="prefix"
|
| 6 |
|
| 7 |
inherit libtool eutils
|
| 8 |
|
| 9 |
DESCRIPTION="Contains error handling functions used by GnuPG software"
|
| 10 |
HOMEPAGE="http://www.gnupg.org/(en)/download/index.html#libgpg-error"
|
| 11 |
SRC_URI="mirror://gnupg/${PN}/${P}.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2 LGPL-2.1"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~amd64 ~ppc-macos ~x86"
|
| 16 |
IUSE="nls"
|
| 17 |
|
| 18 |
RDEPEND="nls? ( virtual/libintl )"
|
| 19 |
DEPEND="nls? ( sys-devel/gettext )"
|
| 20 |
|
| 21 |
src_unpack() {
|
| 22 |
unpack "${A}"
|
| 23 |
cd "${S}"
|
| 24 |
|
| 25 |
epatch "${FILESDIR}/${P}-nls.patch"
|
| 26 |
|
| 27 |
elibtoolize
|
| 28 |
}
|
| 29 |
|
| 30 |
src_compile() {
|
| 31 |
econf $(use_enable nls) || die
|
| 32 |
emake || die
|
| 33 |
}
|
| 34 |
|
| 35 |
src_install() {
|
| 36 |
make install DESTDIR="${EDEST}" || die
|
| 37 |
dodoc AUTHORS ChangeLog NEWS README
|
| 38 |
}
|