Added updated libftd2xx and x3csprog
This commit is contained in:
parent
b8dd35a405
commit
435e900862
2
dev-embedded/libftd2xx/Manifest
Normal file
2
dev-embedded/libftd2xx/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
DIST libftd2xx1.1.12.tar.gz 950540 SHA256 644951c1d7eeac05b0a648a105fd84ba14b0b20250f6b70f1a63e69d2f6b2579 SHA512 afe0a8a7ccc47eb8888346dabdbfb41e182f7dadee7a57a1c4ffce544aebe5cab45c3e64de4ebeebdc0f31961617a79cbcf11dadfebde65ee79ca38e6234995a WHIRLPOOL e56228f9c42aebeb0c425ea20a89466ac07615a943e9ddb7585762315a581026a1e59df60ed0813c78b8a28842728545276dc3c697a6c9624b66ef8fc3e08a7a
|
||||
EBUILD libftd2xx-1.1.12.ebuild 1180 SHA256 34e64c201c3fefcb918c3214341d41d9267df68c0e6870e94301b8331fd5daae SHA512 5bc804f2f8dc85fff961faff6e2fa4e2bc9f322b78f1cf663b0b541bcb869e94a1c47d61da0751de042c8d50770e8740903f51f46d56dc7d8c0b8d2c762e2bde WHIRLPOOL 6aea252662f76241242d92f0e6148bceabbff653d275d75249b6ece4d531fbb44474f57faa138fcd53049dc67881ad2da809836ed959e9832959f659981cf42a
|
47
dev-embedded/libftd2xx/libftd2xx-1.1.12.ebuild
Normal file
47
dev-embedded/libftd2xx/libftd2xx-1.1.12.ebuild
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild,v 1.4 2013/04/12 22:53:34 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit multilib
|
||||
|
||||
MY_P="${PN}${PV}"
|
||||
|
||||
DESCRIPTION="Library that allows a direct access to a USB device"
|
||||
HOMEPAGE="http://www.ftdichip.com/Drivers/D2XX.htm"
|
||||
SRC_URI="http://www.ftdichip.com/Drivers/D2XX/Linux/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="FTDI LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
cd release
|
||||
dodoc ReadMe.txt
|
||||
|
||||
insinto /usr/include
|
||||
doins ftd2xx.h WinTypes.h
|
||||
|
||||
use x86 && cd build/i386
|
||||
use amd64 && cd build/x86_64
|
||||
|
||||
into /opt
|
||||
dolib.so ${PN}.so.${PV}
|
||||
dosym ${PN}.so.${PV} /opt/$(get_libdir)/${PN}.so.${PV:0:1}
|
||||
dosym ${PN}.so.${PV:0:1} /opt/$(get_libdir)/${PN}.so
|
||||
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=\"/opt/$(get_libdir)\"" > ${D}/etc/env.d/50libftd2xx || die
|
||||
if use examples ; then
|
||||
find sample lib_table '(' -name '*.so' -o -name '*.[oa]' ')' -exec rm -f {} +
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
insinto /usr/share/doc/${PF}/sample
|
||||
doins -r lib_table
|
||||
fi
|
||||
}
|
2
dev-embedded/xc3sprog/Manifest
Normal file
2
dev-embedded/xc3sprog/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
AUX xc3sprog-vcsversion.patch 853 SHA256 52b82ad3850cf4c4c875e5921ef4d57cd97355cc7de812bba317158f5ce40589 SHA512 6f4e4822b0a3d5cddb03b1d126ae0bf7e8601b53893dc2d9516005b010a09367d096c308d03d8c19b27dc9e498f9dbe01ad6045ee235de4661ead668ef401e89 WHIRLPOOL 1e2c7b6ee11416b471adef05228c5db9a1d21326856254762a9f7c5f3ed212fb4f9e9c623998b616edfc0caf8e69a331e80425671cca761707905a15ff93e4c9
|
||||
EBUILD xc3sprog-9999.ebuild 600 SHA256 897e6e9341bb02aa25908c0936056d5ea7290d2fe0bbcac49ec45b7b022f2acf SHA512 4ac6f897e03c30facd060d2d4990b50124231ce97ffc370f58ed9e67161a2d401df7aa1bb8e5a4e95acf1a6b92c529c676fb031aee05d03129b5c8f623a91564 WHIRLPOOL 58e91c2790e323d45177e32dc3a4d4d71d43c3b60852ba3f3489a2cf9164c8f8964fb28148cc500a61ee36acdeb9faba6b25772fdb9faa495e3788fb60d10f9b
|
21
dev-embedded/xc3sprog/files/xc3sprog-vcsversion.patch
Normal file
21
dev-embedded/xc3sprog/files/xc3sprog-vcsversion.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
--- CMakeLists.txt 2013-08-25 23:42:40.054791610 +0200
|
||||
+++ CMakeLists.txt.2 2013-08-26 14:05:39.392879393 +0200
|
||||
@@ -27,17 +27,7 @@
|
||||
set(LIBFTD2XX_LIBRARIES "")
|
||||
endif(LIBFTD2XX_FOUND)
|
||||
|
||||
-if(EXISTS ${PROJECT_SOURCE_DIR}/.git)
|
||||
- set(VERSION_STRING "${xc3sprog_VERSION_MAJOR}.${xc3sprog_VERSION_MINOR}-git")
|
||||
-else(EXISTS ${PROJECT_SOURCE_DIR}/.git)
|
||||
- FIND_PACKAGE(Subversion)
|
||||
- IF(Subversion_FOUND)
|
||||
- Subversion_WC_INFO(${PROJECT_SOURCE_DIR} Project)
|
||||
- set(VERSION_STRING "${xc3sprog_VERSION_MAJOR}.${xc3sprog_VERSION_MINOR}-svn${Project_WC_REVISION}")
|
||||
- ELSE(Subversion_FOUND)
|
||||
- set(VERSION_STRING "unknown")
|
||||
- ENDIF(Subversion_FOUND)
|
||||
-endif(EXISTS ${PROJECT_SOURCE_DIR}/.git)
|
||||
+set(VERSION_STRING "${xc3sprog_VERSION_MAJOR}.${xc3sprog_VERSION_MINOR}-git")
|
||||
|
||||
# Create suffix to eventually install inlib64
|
||||
IF(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
28
dev-embedded/xc3sprog/xc3sprog-9999.ebuild
Normal file
28
dev-embedded/xc3sprog/xc3sprog-9999.ebuild
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit subversion cmake-utils eutils
|
||||
|
||||
DESCRIPTION="xc3sprog is a suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs."
|
||||
HOMEPAGE="http://xc3sprog.sourceforge.net/"
|
||||
|
||||
ESVN_REPO_URI="svn://svn.code.sf.net/p/xc3sprog/code/trunk"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-embedded/libftd2xx-1.0.0
|
||||
dev-embedded/libftdi"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-vcsversion.patch"
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
Loading…
Reference in a new issue