diff options
| author | Sam James <sam@gentoo.org> | 2021-06-09 22:48:53 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2021-06-09 23:55:49 +0000 |
| commit | 7589439e29ef225b4fd936af8203f8ae8969021b (patch) | |
| tree | 9e0d8dc62904189b4a1cff2293d45ba19dd659d5 /sys-libs/fortify-headers/fortify-headers-1.1.ebuild | |
| parent | 9d017ba828cdc38fe5d247cade10d42957c9ec7c (diff) | |
| download | gentoo-7589439e29ef225b4fd936af8203f8ae8969021b.tar.gz gentoo-7589439e29ef225b4fd936af8203f8ae8969021b.tar.bz2 gentoo-7589439e29ef225b4fd936af8203f8ae8969021b.zip | |
sys-libs/fortify-headers: add 1.1
Closes: https://bugs.gentoo.org/716234
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/fortify-headers/fortify-headers-1.1.ebuild')
| -rw-r--r-- | sys-libs/fortify-headers/fortify-headers-1.1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-libs/fortify-headers/fortify-headers-1.1.ebuild b/sys-libs/fortify-headers/fortify-headers-1.1.ebuild new file mode 100644 index 000000000000..5347e1e57683 --- /dev/null +++ b/sys-libs/fortify-headers/fortify-headers-1.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI="git://git.2f30.org/fortify-headers" + inherit git-r3 +else + #SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz" + SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" +fi + +DESCRIPTION="A standalone implementation of fortify source" +HOMEPAGE="http://git.2f30.org/fortify-headers/" + +LICENSE="ISC" +SLOT="0" + +src_prepare() { + sed -i -e 's|^PREFIX = /usr/local|PREFIX = /usr|g' Makefile || die + default +} + +src_compile() { + # Nothing to do here but defining a dummy phase allows us to not trigger + # the catch-all rule and try to install here where we don't have access + # to ${ED} + :; +} + +src_install() { + export DESTDIR="${ED}" + default +} |
