sys-kernel/spl: update live ebuild
authorJason Zaman <perfinion@gentoo.org>
Fri, 23 Oct 2015 20:20:31 +0000 (04:20 +0800)
committerJason Zaman <perfinion@gentoo.org>
Fri, 23 Oct 2015 20:26:53 +0000 (04:26 +0800)
- update to EAPI 5
- update to git-r3 eclass
- change src_uri to release tarballs

sys-kernel/spl/spl-9999.ebuild

index 43c6711ec6683557bb6309c166d6aad7feba92aa..02bef881fc0ad502d5da5b99f63e570af9998009 100644 (file)
@@ -2,21 +2,19 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="4"
-AUTOTOOLS_AUTORECONF="1"
-
-inherit flag-o-matic linux-info linux-mod autotools-utils
+EAPI="5"
 
 if [[ ${PV} == "9999" ]] ; then
-       inherit git-2
+       AUTOTOOLS_AUTORECONF="1"
        EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
+       inherit git-r3
 else
-       inherit eutils versionator
-       SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${P}.tar.gz"
-       S="${WORKDIR}/${PN}-${P}"
+       SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
        KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
 fi
 
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
 DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs"
 HOMEPAGE="http://zfsonlinux.org/"
 
@@ -35,6 +33,7 @@ RDEPEND="${COMMON_DEPEND}
 
 AT_M4DIR="config"
 AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS DISCLAIMER README.markdown )
 
 pkg_setup() {
        linux-info_pkg_setup
@@ -96,7 +95,6 @@ src_configure() {
 
 src_install() {
        autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
-       dodoc AUTHORS DISCLAIMER README.markdown
 }
 
 pkg_postinst() {