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
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