Files
guru/dev-embedded/arachne-pnr/arachne-pnr-9999.ebuild
Tony Olagbaiye debfd409be dev-embedded/arachne-pnr: bump eapi 6 -> 7
Signed-off-by: Tony Olagbaiye <bqv@fron.io>
2022-12-10 16:34:45 +00:00

32 lines
697 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
DESCRIPTION="Arachne PNR - free and open-source place and route tool for FPGAs"
HOMEPAGE="https://github.com/cseed/arachne-pnr"
LICENSE="ISC"
if [ ${PV} == "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/cseed/arachne-pnr.git"
else
EGIT_COMMIT=""
SRC_URI="https://github.com/cseed/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
fi
SLOT="0"
IUSE=""
RDEPEND="dev-embedded/icestorm"
DEPEND="${RDEPEND}"
src_compile() {
emake PREFIX=/usr
}
src_install() {
emake DESTDIR="${D}" PREFIX=/usr install
}