blob: 82f99098e63a22b1d70dde8a1f01b5792406ba57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_VERSION=0.02
DIST_AUTHOR=AMBA
KEYWORDS="~amd64 ~x86"
inherit perl-module
DESCRIPTION="Perl interface to the VXI-11 Test&Measurement backend"
SLOT="0"
IUSE="+libtirpc"
RDEPEND="
!libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) )
libtirpc? ( net-libs/libtirpc )
"
DEPEND="
${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
src_configure() {
if use libtirpc ; then
myconf=(
OPTIMIZE="${CFLAGS} -I/usr/include/tirpc"
LIBS="-ltirpc"
)
fi
perl-module_src_configure
}
|