sys-process/numactl: Minor adjustments to the live ebuild.
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 10 Jul 2018 08:48:14 +0000 (10:48 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 10 Jul 2018 08:48:14 +0000 (10:48 +0200)
Package-Manager: Portage-2.3.41, Repoman-2.3.9

sys-process/numactl/numactl-9999.ebuild

index 3dad0c6eacece111198a63e5ff8704e59a3976b0..312ab570210b296ad9992b0aa51128d4d26823cc 100644 (file)
@@ -7,11 +7,11 @@ inherit autotools toolchain-funcs multilib-minimal
 
 DESCRIPTION="Utilities and libraries for NUMA systems"
 HOMEPAGE="https://github.com/numactl/numactl"
-if [[ "${PV}" = 9999* ]] ; then
+if [[ "${PV}" == 9999 ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/numactl/numactl.git"
 else
-       SRC_URI="ftp://oss.sgi.com/www/projects/libnuma/download/${P}.tar.gz"
+       SRC_URI="https://github.com/numactl/numactl/releases/download/v${PV}/${P}.tar.gz"
        # ARM lacks the __NR_migrate_pages syscall.
        KEYWORDS="~amd64 -arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux"
 fi
@@ -58,7 +58,7 @@ multilib_src_install() {
 }
 
 multilib_src_install_all() {
-       local DOCS=( README TODO CHANGES DESIGN )
+       local DOCS=( README.md )
        einstalldocs
        # delete man pages provided by the man-pages package #238805
        rm -r "${ED%/}"/usr/share/man/man[25] || die