diff options
author | 2017-07-18 11:35:39 -0700 | |
---|---|---|
committer | 2017-07-18 11:35:39 -0700 | |
commit | e6f78bdd57bdd59267ebe12d9d11c311a1b79b78 (patch) | |
tree | 78d8b03fcea450282f1978ade9953392fb89d681 | |
parent | Copy the wiringPi ebuild from the hacking-gentoo overlay (diff) | |
download | palmer-e6f78bdd57bdd59267ebe12d9d11c311a1b79b78.tar.gz palmer-e6f78bdd57bdd59267ebe12d9d11c311a1b79b78.tar.bz2 palmer-e6f78bdd57bdd59267ebe12d9d11c311a1b79b78.zip |
Add an xc3sprog ebuild
-rw-r--r-- | sci-electronics/xc3sprog/Manifest | 2 | ||||
-rw-r--r-- | sci-electronics/xc3sprog/xc3sprog-1.1.ebuild | 27 |
2 files changed, 29 insertions, 0 deletions
diff --git a/sci-electronics/xc3sprog/Manifest b/sci-electronics/xc3sprog/Manifest new file mode 100644 index 0000000..81a3cad --- /dev/null +++ b/sci-electronics/xc3sprog/Manifest @@ -0,0 +1,2 @@ +DIST xc3sprog-1.1.tar.gz 253963 SHA256 5a7e3866d1d0bfca65ef40097c2b5a10011462be8cf8b401eef45e46d3670645 SHA512 58c7c92aeeea85016c457143d324d4025c70e8531d24812fb1abb06a65ebe9b732acbae1c5f45f675262a4c7be027b31d4f4cc2dd3f169d7b89babcd845e9041 WHIRLPOOL ad065abeee003d9fa91c83bd242477ca792aed439faaee787b64058287d493d8725dee38220841af919d35b9123da002f61e1f5c916c49544b0f89be7101b24b +EBUILD xc3sprog-1.1.ebuild 631 SHA256 6235abce18c5fd1660fa0ae694f1e905d5a22bad14e74b2a4d88a7f928dcc42d SHA512 e4fac5d14a67b2ce84d0a2ecf2310d1e444e0e8ee3d96f551077a1774fb56f55cd4dbc21af6af0c2271df6b916c82074658686b53e2e777b4b6d340c66afd00e WHIRLPOOL da20a40c5f749eec791faae965c32789624a497b6783ee10aeaefe076e44272dabd7274c491529df7592037e6f025baa1b1fa9d654bd002ee61d5027485a18a1 diff --git a/sci-electronics/xc3sprog/xc3sprog-1.1.ebuild b/sci-electronics/xc3sprog/xc3sprog-1.1.ebuild new file mode 100644 index 0000000..4404f4d --- /dev/null +++ b/sci-electronics/xc3sprog/xc3sprog-1.1.ebuild @@ -0,0 +1,27 @@ +EAPI="5" +inherit cmake-utils eutils + +DESCRIPTION="Xilinx FPGA Programmer" +HOMEPAGE="https://github.com/matrix-io/xc3sprog/releases" +SRC_URI="https://github.com/matrix-io/${PN}/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-embedded/libftdi + dev-embedded/libftd2xx + dev-libs/libusb-compat + dev-libs/wiringPi" +S="${WORKDIR}/${PN}-${P}" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + "-DLIBFTDI_INCLUDE_DIR=$(pkg-config libftdi1 --cflags-only-I | cut -d' ' -f1 | sed 's/-I//')" + "-DLIBFTDI_LIBRARIES=${EPREFIX}/usr/lib/libftdi1.so" + ) + + cmake-utils_src_configure +} |