Diff fortify-headers-1.1 with a fortify-headers-9999
/usr/portage/sys-libs/fortify-headers/fortify-headers-9999.ebuild 2024-07-02 13:51:49.433851595 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | ||
6 |
inherit toolchain-funcs |
|
7 | ||
8 |
DESCRIPTION="Standalone implementation of fortify source" |
|
9 |
HOMEPAGE="https://github.com/jvoisin/fortify-headers" |
|
5 | 10 | |
6 | 11 |
if [[ ${PV} == *9999* ]] ; then |
7 |
EGIT_REPO_URI="git://git.2f30.org/fortify-headers" |
|
12 |
EGIT_REPO_URI="https://github.com/jvoisin/fortify-headers" |
|
8 | 13 |
inherit git-r3 |
9 | 14 |
else |
10 |
#SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz" |
|
11 |
SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz" |
|
15 |
FORTIFY_COMMIT="" |
|
16 |
SRC_URI="https://github.com/jvoisin/fortify-headers/archive/${FORTIFY_COMMIT}.tar.gz -> ${P}.tar.gz" |
|
12 | 17 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" |
13 | 18 |
fi |
14 | 19 | |
15 |
DESCRIPTION="A standalone implementation of fortify source" |
|
16 |
HOMEPAGE="http://git.2f30.org/fortify-headers/" |
|
17 | ||
18 | 20 |
LICENSE="ISC" |
19 | 21 |
SLOT="0" |
20 | 22 | |
... | ... | |
30 | 32 |
:; |
31 | 33 |
} |
32 | 34 | |
35 |
src_test() { |
|
36 |
emake -C tests CC="$(tc-getCC)" |
|
37 |
} |
|
38 | ||
33 | 39 |
src_install() { |
34 | 40 |
export DESTDIR="${ED}" |
35 | 41 |
default |