Add ecpprog-13092022

This commit is contained in:
Skylar Hill 2024-09-27 16:05:06 -05:00
parent ba4f5b0f46
commit 1968e19191

View 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
}