dev-util/strace: Synced live ebuild.
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 14 Feb 2018 09:36:22 +0000 (10:36 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 14 Feb 2018 09:36:22 +0000 (10:36 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-util/strace/strace-9999.ebuild

index e445febc78693773e92c4550558d5056efc58fa8..8e7cd87aff5fb83f723fc0176092ce1a6621b863 100644 (file)
@@ -6,11 +6,11 @@ EAPI=6
 inherit flag-o-matic toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
-       EGIT_REPO_URI="git://git.code.sf.net/p/strace/code"
-       EGIT_PROJECT="${PN}"
+       EGIT_REPO_URI="https://github.com/strace/strace.git"
        inherit git-r3 autotools
 else
-       SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+       #SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+       SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
 fi
 
@@ -38,8 +38,8 @@ src_prepare() {
 
        if [[ ! -e configure ]] ; then
                # git generation
-               ./xlat/gen.sh || die
-               ./generate_mpers_am.sh || die
+               sed /autoreconf/d -i bootstrap || die
+               ./bootstrap || die
                eautoreconf
                [[ ! -e CREDITS ]] && cp CREDITS{.in,}
        fi