The github archive does not contain pregenerated autotools files.
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Signed-off-by: Sven Wegener <swegener@gentoo.org>
EAPI="6"
-inherit multilib
+inherit autotools multilib
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/google/google-authenticator-libpam.git"
- inherit git-r3 autotools
+ inherit git-r3
else
SRC_URI="https://github.com/google/google-authenticator-libpam/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
src_prepare() {
default
- if [[ ${PV} == 9999 ]] ; then
- eautoreconf
- fi
+ eautoreconf
}
src_compile() {
EAPI="6"
-inherit multilib
+inherit autotools multilib
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/google/google-authenticator-libpam.git"
- inherit git-r3 autotools
+ inherit git-r3
else
SRC_URI="https://github.com/google/google-authenticator-libpam/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
src_prepare() {
default
- if [[ ${PV} == 9999 ]] ; then
- eautoreconf
- fi
+ eautoreconf
}
src_compile() {