mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 06:21:08 +02:00
net-libs/libtirpc: import from portage-stable
This commit is contained in:
parent
bf0f3dd5bf
commit
471147bbf2
2
sdk_container/src/third_party/coreos-overlay/net-libs/libtirpc/Manifest
vendored
Normal file
2
sdk_container/src/third_party/coreos-overlay/net-libs/libtirpc/Manifest
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST libtirpc-0.2.4.tar.bz2 458544 SHA256 45c3e21dfc23a5ba501f9dfc6671678316fdfdb8355a1ec404ae2aa2f81943a1 SHA512 8b7fec13d34ad0ddfa3832f4a4955607d94f6a691fedcc81a98554345f6c6e64d5f289490a10a80600cebf5b53cfad99c0d78007b88f8f2fbc60cbb8680fc87f WHIRLPOOL c12cb4503fc621437ea0c1543abd0ce739bca40e1f77eba1af533456e93c62fb137a0d1e99d815c6026fae4321d90d9a032d7d1e6daeab1531bcb59bc66b746f
|
||||||
|
DIST libtirpc-glibc-nfs.tar.xz 8948 SHA256 2677cfedf626f3f5a8f6e507aed5bb8f79a7453b589d684dbbc086e755170d83 SHA512 90255bf0a27af16164e0710dd940778609925d473f4343093ff19d98cc4f23023788bf4edf0178eae1961afc0ba8b69b273de95b7d7e2afdb706701d8ba6f7ba WHIRLPOOL 06bcf3fd4e424a86071e5c4ddeb89aa571c862e765aae9382d9f9a55ab72cd1c623490555c1a9bd3380a2d04ecb10fb47a75a7dddf449d4368a1a01617226858
|
50
sdk_container/src/third_party/coreos-overlay/net-libs/libtirpc/libtirpc-0.2.4-r1.ebuild
vendored
Normal file
50
sdk_container/src/third_party/coreos-overlay/net-libs/libtirpc/libtirpc-0.2.4-r1.ebuild
vendored
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/libtirpc-0.2.4-r1.ebuild,v 1.6 2014/08/11 13:37:31 vapier Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Transport Independent RPC library (SunRPC replacement)"
|
||||||
|
HOMEPAGE="http://libtirpc.sourceforge.net/"
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
|
||||||
|
mirror://gentoo/${PN}-glibc-nfs.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
|
||||||
|
IUSE="ipv6 kerberos static-libs"
|
||||||
|
|
||||||
|
RDEPEND="kerberos? ( virtual/krb5 )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-arch/xz-utils
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A}
|
||||||
|
cp -r tirpc "${S}"/ || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_enable ipv6) \
|
||||||
|
$(use_enable kerberos gssapi) \
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
insinto /etc
|
||||||
|
doins doc/netconfig
|
||||||
|
|
||||||
|
insinto /usr/include/tirpc
|
||||||
|
doins -r "${WORKDIR}"/tirpc/*
|
||||||
|
|
||||||
|
# libtirpc replaces rpc support in glibc, so we need it in /
|
||||||
|
gen_usr_ldscript -a tirpc
|
||||||
|
|
||||||
|
# makes sure that the linking order for nfs-utils is proper, as
|
||||||
|
# libtool would inject a libgssglue dependency in the list.
|
||||||
|
use static-libs || find "${ED}" -name '*.la' -delete
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user