net-libs/libnsl: Bump to v1.2.0
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 23 Nov 2017 19:24:29 +0000 (20:24 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 23 Nov 2017 20:48:20 +0000 (21:48 +0100)
Package-Manager: Portage-2.3.16, Repoman-2.3.6

net-libs/libnsl/Manifest
net-libs/libnsl/libnsl-1.2.0.ebuild [new file with mode: 0644]

index 69abf021a446411dd74e1ff75f3dc09d70b466b8..cd67530ee21d75ef8d10934aa2e10e3fe03f1b12 100644 (file)
@@ -1 +1,2 @@
 DIST libnsl-1.1.0.tar.gz 209148 BLAKE2B 1fe1cbd279f317c0ca74a635e7cb7a35e3c70055f8f590b6814b2d40f1daaf381ec9d9710e0bbb894489d251788a135550848714e8b015bf237cf41d72feabf0 SHA512 12555ed701d06247b6774c6c2759ada280ffce73820976adb4aaa48b50b97121b1805412541778dfcdd8845af6a10b2e5a9dc0eb7b953e84467d0a40ad3360cd
+DIST libnsl-1.2.0.tar.gz 209188 BLAKE2B 4249cfbf0b5391790f5e5f81e4eb0be963e5fdc0c32a9400d4128e717d93da49f8751caf8de3bb4ba1a23b8670a0e4f8e750f38f4612dd0cc97db4c157421a06 SHA512 30115aa679a04ad01f55cff9dd1890b4c41c730a9bac2adab5add9ae03a0b4687c5f4b6e3b8652ecbb074eefac8faee3f1f13ea60d42cf4432db8a575ca72cd8
diff --git a/net-libs/libnsl/libnsl-1.2.0.ebuild b/net-libs/libnsl/libnsl-1.2.0.ebuild
new file mode 100644 (file)
index 0000000..cf182e0
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="Public client interface for NIS(YP) and NIS+ in a IPv6 ready version"
+HOMEPAGE="https://github.com/thkukuk/libnsl"
+SRC_URI="https://github.com/thkukuk/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0/2"
+LICENSE="LGPL-2.1+"
+
+# Stabilize together with glibc-2.26!
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+IUSE=""
+
+DEPEND="
+       net-libs/libtirpc[${MULTILIB_USEDEP}]
+"
+RDEPEND="${DEPEND}
+       !<sys-libs/glibc-2.26
+"
+
+src_prepare(){
+       default
+       eautoreconf
+}
+
+multilib_src_configure() {
+       local myconf=(
+               --enable-shared
+               --disable-static
+       )
+       ECONF_SOURCE=${S} econf "${myconf[@]}"
+}
+
+multilib_src_install_all() {
+       einstalldocs
+       find "${ED}" -name '*.la' -delete || die
+}