Add ecpprog-13092022
This commit is contained in:
parent
ba4f5b0f46
commit
1968e19191
1 changed files with 36 additions and 0 deletions
36
sci-electronics/ecpprog/ecpprog-13092022.ebuild
Normal file
36
sci-electronics/ecpprog/ecpprog-13092022.ebuild
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="Driver for FTDI-based JTAG probes to program Lattice ECP5/Nexus FPGAs."
|
||||
HOMEPAGE="https://github.com/gregdavill/ecpprog"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="dev-embedded/libftdi"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
EGIT_REPO_URI="https://github.com/gregdavill/ecpprog.git"
|
||||
EGIT_COMMIT="8af8863855599f4b8ef8f46a336408b1aba60e9d"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd ecpprog
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd ecpprog
|
||||
emake PREFIX=/usr DESTDIR=${D} install
|
||||
}
|
Loading…
Reference in a new issue