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/qca-ossl/qca-ossl-2.0.0_beta3-r2.ebuild,v 1.9 2012/06/14 07:01:37 yngwin Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-ossl/qca-ossl-2.0.0_beta3-r2.ebuild,v 1.9 2012/06/14 07:01:37 yngwin Exp $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI="4" |
6 |
inherit eutils qt4-r2 |
6 |
inherit eutils qt4-r2 |
7 |
|
7 |
|
8 |
MY_P="${P/_/-}" |
8 |
MY_P="${P/_/-}" |
Lines 15-29
Link Here
|
15 |
LICENSE="LGPL-2" |
15 |
LICENSE="LGPL-2" |
16 |
SLOT="2" |
16 |
SLOT="2" |
17 |
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris" |
17 |
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris" |
18 |
IUSE="debug" |
18 |
IUSE="debug ssl2" |
19 |
|
19 |
|
20 |
DEPEND=">=app-crypt/qca-${QCA_VER}[debug?] |
20 |
DEPEND=">=app-crypt/qca-${QCA_VER}[debug?] |
21 |
>=dev-libs/openssl-0.9.6" |
21 |
>=dev-libs/openssl-0.9.6[ssl2?]" |
22 |
RDEPEND="${DEPEND}" |
22 |
RDEPEND="${DEPEND}" |
23 |
|
23 |
|
24 |
S=${WORKDIR}/${MY_P} |
24 |
S=${WORKDIR}/${MY_P} |
25 |
|
25 |
|
26 |
PATCHES=( "${FILESDIR}/${PN}-openssl-1.0.0.patch" ) |
26 |
src_prepare() { |
|
|
27 |
epatch "${FILESDIR}"/${PN}-openssl-1.0.0.patch |
28 |
use ssl2 || epatch "${FILESDIR}"/${PN}-remove-ssl2.patch |
29 |
} |
27 |
|
30 |
|
28 |
src_configure() { |
31 |
src_configure() { |
29 |
use prefix || EPREFIX= |
32 |
use prefix || EPREFIX= |