You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
599 B
34 lines
599 B
# 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
|
|
}
|