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

(-)pinentry-0.8.2.ebuild (-3 / +10 lines)
Lines 2-8 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/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.2 2012/09/03 13:53:02 kensington Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.2 2012/09/03 13:53:02 kensington Exp $
4
4
5
EAPI=3
5
EAPI=4
6
6
7
inherit multilib eutils flag-o-matic
7
inherit multilib eutils flag-o-matic
8
8
Lines 30-35 Link Here
30
		qt4? ( virtual/pkgconfig )
30
		qt4? ( virtual/pkgconfig )
31
	)"
31
	)"
32
32
33
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
34
33
pkg_setup() {
35
pkg_setup() {
34
	use static && append-ldflags -static
36
	use static && append-ldflags -static
35
37
Lines 49-54 Link Here
49
	fi
51
	fi
50
}
52
}
51
53
54
src_compile() {
55
	#needed to respect system AR
56
	emake AR="$(tc-getAR)"
57
}
58
52
src_configure() {
59
src_configure() {
53
	local myconf=""
60
	local myconf=""
54
61
Lines 78-85 Link Here
78
}
85
}
79
86
80
src_install() {
87
src_install() {
81
	emake DESTDIR="${D}" install || die
88
	default
82
	dodoc AUTHORS ChangeLog NEWS README THANKS TODO
89
	# needed to avoid file collisions
83
	rm -f "${ED}"/usr/bin/pinentry || die
90
	rm -f "${ED}"/usr/bin/pinentry || die
84
}
91
}
85
92

Return to bug 443526