mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
28 lines
624 B
Bash
28 lines
624 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
|
EGIT_REPO_URI="git://git.2f30.org/fortify-headers"
|
|
inherit git-2
|
|
else
|
|
SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.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"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
sed -i -e 's|^PREFIX = /usr/local|PREFIX = /usr|g' Makefile
|
|
export DESTDIR="${D}"
|
|
}
|