Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit eutils |
7 |
inherit eutils multilib-minimal |
8 |
|
8 |
|
9 |
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11." |
9 |
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11." |
10 |
HOMEPAGE="http://p11-glue.freedesktop.org/p11-kit.html" |
10 |
HOMEPAGE="http://p11-glue.freedesktop.org/p11-kit.html" |
Lines 16-33
Link Here
|
16 |
IUSE="+asn1 debug +trust" |
16 |
IUSE="+asn1 debug +trust" |
17 |
REQUIRED_USE="trust? ( asn1 )" |
17 |
REQUIRED_USE="trust? ( asn1 )" |
18 |
|
18 |
|
19 |
RDEPEND="asn1? ( >=dev-libs/libtasn1-2.14 )" |
19 |
RDEPEND="asn1? ( >=dev-libs/libtasn1-2.14[${MULTILIB_USEDEP}] )" |
20 |
DEPEND="${RDEPEND} |
20 |
DEPEND="${RDEPEND} |
21 |
virtual/pkgconfig" |
21 |
virtual/pkgconfig" |
22 |
|
22 |
|
23 |
src_configure() { |
23 |
multilib_src_configure() { |
|
|
24 |
ECONF_SOURCE="${S}" \ |
24 |
econf \ |
25 |
econf \ |
25 |
$(use_enable trust trust-module) \ |
26 |
$(use_enable trust trust-module) \ |
26 |
$(use_enable debug) \ |
27 |
$(use_enable debug) \ |
27 |
$(use_with asn1 libtasn1) |
28 |
$(use_with asn1 libtasn1) |
28 |
} |
29 |
} |
29 |
|
30 |
|
30 |
src_install() { |
31 |
multilib_src_install_all() { |
31 |
default |
|
|
32 |
prune_libtool_files --modules |
32 |
prune_libtool_files --modules |
33 |
} |
33 |
} |