Import xc3sprog ebuild
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
45
dev-embedded/xc3sprog/xc3sprog-9999.ebuild
Normal file
45
dev-embedded/xc3sprog/xc3sprog-9999.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user