mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
32 lines
697 B
Bash
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
|
|
}
|