net-fs/libnfs: Changes from v2.0.0 bump integrated into live ebuild
authorThomas Deutschmann <whissi@gentoo.org>
Fri, 21 Jul 2017 17:19:55 +0000 (19:19 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 21 Jul 2017 17:53:41 +0000 (19:53 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

net-fs/libnfs/libnfs-9999.ebuild

index 8c3007a32bef81face6a946c78e83222ab4bc230..267c88a3ab41e8f2e9a36a0d614559778ee67f0f 100644 (file)
@@ -1,25 +1,24 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
 AUTOTOOLS_AUTORECONF="1"
 
-inherit eutils
+inherit eutils autotools autotools-utils
 if [[ ${PV} == "9999" ]] ; then
-       EGIT_REPO_URI="git://github.com/sahlberg/libnfs.git"
-       inherit git-2 autotools-utils
+       EGIT_REPO_URI="https://github.com/sahlberg/libnfs.git"
+       inherit git-2
 else
        SRC_URI="https://github.com/sahlberg/${PN}/archive/${P}.tar.gz"
-       KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86"
-       inherit autotools-utils
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86"
 fi
 
 DESCRIPTION="Client library for accessing NFS shares over a network"
 HOMEPAGE="https://github.com/sahlberg/libnfs"
 
 LICENSE="LGPL-2.1 GPL-3"
-SLOT="0/8"  # sub-slot matches SONAME major
+SLOT="0/11"  # sub-slot matches SONAME major
 IUSE="examples static-libs"
 
 RDEPEND=""
@@ -28,6 +27,14 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/${PN}-${P}"
 
+src_prepare() {
+       default
+
+       epatch_user
+
+       eautoreconf
+}
+
 src_install() {
        autotools-utils_src_install
        if use examples; then