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

(-)libksba-1.0.2.ebuild (+12 lines)
Lines 2-7 Link Here
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/libksba/libksba-1.0.2.ebuild,v 1.10 2007/10/09 14:57:54 angelos Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libksba/libksba-1.0.2.ebuild,v 1.10 2007/10/09 14:57:54 angelos Exp $
4
4
5
inherit flag-o-matic toolchain-funcs
6
5
DESCRIPTION="makes X.509 certificates and CMS easily accessible to applications"
7
DESCRIPTION="makes X.509 certificates and CMS easily accessible to applications"
6
HOMEPAGE="http://www.gnupg.org/(en)/download/index.html#libksba"
8
HOMEPAGE="http://www.gnupg.org/(en)/download/index.html#libksba"
7
SRC_URI="mirror://gnupg/libksba/${P}.tar.bz2"
9
SRC_URI="mirror://gnupg/libksba/${P}.tar.bz2"
Lines 15-20 Link Here
15
	dev-libs/libgcrypt"
17
	dev-libs/libgcrypt"
16
RDEPEND="${DEPEND}"
18
RDEPEND="${DEPEND}"
17
19
20
src_compile() {
21
	# bug#198648
22
	if [ $(tc-arch) = "amd64" ]; then
23
		replace-flags "-O2" "-O0"
24
		replace-flags "-O3" "-O0"
25
	fi
26
	econf || die
27
	emake || die
28
}
29
18
src_install() {
30
src_install() {
19
	emake DESTDIR="${D}" install || die
31
	emake DESTDIR="${D}" install || die
20
	dodoc AUTHORS ChangeLog NEWS README THANKS TODO VERSION
32
	dodoc AUTHORS ChangeLog NEWS README THANKS TODO VERSION

Return to bug 198648