46 lines
669 B
Bash
46 lines
669 B
Bash
|
|
EAPI="7"
|
|
|
|
inherit cmake git-r3
|
|
|
|
DESCRIPTION="Suite of utilities to program Xilinx FPGAs and CPLDs"
|
|
HOMEPAGE="https://github.com/matrix-io/xc3sprog"
|
|
KEYWORDS="amd64"
|
|
|
|
EGIT_REPO_URI="https://github.com/matrix-io/xc3sprog.git"
|
|
EGIT_REPO_BRANCH="master"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${P}-libftdi.patch"
|
|
)
|
|
|
|
DOCS=(
|
|
PERFORMANCE
|
|
README
|
|
Readme.DLC10
|
|
Readme.JTAG_Timing
|
|
)
|
|
|
|
RDEPEND="
|
|
dev-embedded/libftdi:1
|
|
dev-libs/libusb:1
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
SLOT="0"
|
|
LICENSE="GPL-2"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-D CMAKE_INSTALL_PREFIX="/opt/${PN}"
|
|
-D USE_WIRINGPI=off
|
|
-D USE_FTD2XX=off
|
|
)
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
cmake_src_install
|
|
doman xc3sprog.1
|
|
}
|