Lines 12-21
if [[ ${PV} =~ [9]{4,} ]]; then
Link Here
|
12 |
inherit git-r3 |
12 |
inherit git-r3 |
13 |
EGIT_REPO_URI="https://github.com/libbpf/libbpf.git" |
13 |
EGIT_REPO_URI="https://github.com/libbpf/libbpf.git" |
14 |
else |
14 |
else |
15 |
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
15 |
SRC_COMMIT=1f98105e5443a766f9e4b50945fa953ab29d746d |
|
|
16 |
SRC_URI="https://github.com/${PN}/${PN}/archive/${SRC_COMMIT}.tar.gz -> ${P}.tar.gz" |
16 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
17 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
17 |
fi |
18 |
fi |
18 |
S="${WORKDIR}/${P}/src" |
19 |
S="${WORKDIR}/${PN}-${SRC_COMMIT}/src" |
19 |
|
20 |
|
20 |
LICENSE="GPL-2 LGPL-2.1 BSD-2" |
21 |
LICENSE="GPL-2 LGPL-2.1 BSD-2" |
21 |
SLOT="0/$(ver_cut 1-2 ${PV})" |
22 |
SLOT="0/$(ver_cut 1-2 ${PV})" |