blob: 8cda36d9ff9d2d730a1dea271d1dee077d05741e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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
}
|