diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2017-07-21 19:16:26 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2017-07-21 19:53:39 +0200 |
commit | c70ebda59680d639c54d5aa98dd56df301305e19 (patch) | |
tree | 76b3cbc6132edc841c98f7fb3f1d963bb22d1fbb /net-fs | |
parent | net-misc/rancid-git: fix description (diff) | |
download | gentoo-c70ebda59680d639c54d5aa98dd56df301305e19.tar.gz gentoo-c70ebda59680d639c54d5aa98dd56df301305e19.tar.bz2 gentoo-c70ebda59680d639c54d5aa98dd56df301305e19.zip |
net-fs/libnfs: Bump to v2.0.0
Ebuild changes:
===============
- epatch_user support added
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/libnfs/Manifest | 1 | ||||
-rw-r--r-- | net-fs/libnfs/libnfs-2.0.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/net-fs/libnfs/Manifest b/net-fs/libnfs/Manifest index 610bd08f652b..a35ad14712ca 100644 --- a/net-fs/libnfs/Manifest +++ b/net-fs/libnfs/Manifest @@ -3,3 +3,4 @@ DIST libnfs-1.11.0.tar.gz 152239 SHA256 fc2e45df14d8714ccd07dc2bbe919e45a2e36318 DIST libnfs-1.9.5.tar.gz 141162 SHA256 dd99ffa02a3d9fc936976e199614e0d0e2516bd27ead5639c063b8504008a393 SHA512 fee676503b3655f3710342f5f6944f598b1e404f0a00891387d36d41f55f25f27254cbe061b8d8b00ee445a1bfd51df9c2cbccd72f3cdb0f7e8925691fcb2a4b WHIRLPOOL 631000670b9b7f5a1084e182aa793a70b844945d8e96ac3bcb6d035cd92c0a3aa304b8421d7d1ff998134ad991c3f258ff78f85861ce92b481fccd7826633860 DIST libnfs-1.9.7.tar.gz 145925 SHA256 7c2e088f5fd85b791ab644a5221b717894208bc5fb8b8a5a49633802ecaa0990 SHA512 0dec9a6eee61bcab5a406b6f8bd50d15ffa257bc0fae7079e25a3e0ecb1177845514c232d699c67c59a3f1a269099a46225959d413301bf4550aa37504e2f492 WHIRLPOOL bc3e37b4c6174a1d9d14c9e6722cf03c1610e3c39b020ad0d9e8dfdeda7b2e06e7c0287a5b789d89d4d4434b46192f662e1d48cec2e1d666e647ef8e5f75d31d DIST libnfs-1.9.8.tar.gz 148757 SHA256 e95af693e763a504eee72dacf3dc6c1001d83e40b807e7e1d0be2eaf48af779c SHA512 2a0e11dde5a2c4d25fcf1040d04ad984fe3b2e2ce5f544d602becb55aebdabbfe29a3b961d3db7d034c918862b540d3a03735bbbad0606ff3a128c50c2dad666 WHIRLPOOL 2df1b66c2788fb9a676884504e0c1f10c9c0c697a0c52cd6df493a51eebcc0e55fa5c6587e7009f815b1a23981e52ece2a480b17d2e06da3232d45515ae0e648 +DIST libnfs-2.0.0.tar.gz 200932 SHA256 7ea6cd8fa6c461d01091e584d424d28e137d23ff4b65b95d01a3fd0ef95d120e SHA512 701dd5317b0395523be89123d473f4da5c3ff53c2e30004a922f649f0dbbd97546ee39ab34fce06278a8148c13200ca383726a0822d09846fad6e308f29e42c7 WHIRLPOOL e52a1d8b286ce1e10a710bbbcff083e2791f17ccc210c4aeaa1246bb8e3f867a96b7854ff9a640913a66dd9ae42b25b0514a172f5706c114882399b43f49fabf diff --git a/net-fs/libnfs/libnfs-2.0.0.ebuild b/net-fs/libnfs/libnfs-2.0.0.ebuild new file mode 100644 index 000000000000..267c88a3ab41 --- /dev/null +++ b/net-fs/libnfs/libnfs-2.0.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +AUTOTOOLS_AUTORECONF="1" + +inherit eutils autotools autotools-utils +if [[ ${PV} == "9999" ]] ; then + 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="~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/11" # sub-slot matches SONAME major +IUSE="examples static-libs" + +RDEPEND="" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${PN}-${P}" + +src_prepare() { + default + + epatch_user + + eautoreconf +} + +src_install() { + autotools-utils_src_install + if use examples; then + # --enable-examples configure switch just compiles them + # better install sources instead + exeinto /usr/share/doc/${PF}/examples/ + for program in $(grep PROGRAMS examples/Makefile.am | cut -d= -f2); do + doexe examples/${program}.c + done + fi +} |