summaryrefslogtreecommitdiff
path: root/dev-embedded/powersoftplus-libftdi
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/powersoftplus-libftdi')
-rw-r--r--dev-embedded/powersoftplus-libftdi/Manifest3
-rw-r--r--dev-embedded/powersoftplus-libftdi/metadata.xml5
-rw-r--r--dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild38
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-embedded/powersoftplus-libftdi/Manifest b/dev-embedded/powersoftplus-libftdi/Manifest
new file mode 100644
index 000000000000..268187abd6fa
--- /dev/null
+++ b/dev-embedded/powersoftplus-libftdi/Manifest
@@ -0,0 +1,3 @@
+DIST powersoftplus-0.1.8-x86.tar.gz 4746235 BLAKE2B 3ae26bbb1dc924bf88ef9cf65953ce16ee3db1d4b4e4c15ec7c352dfedd37485402a201f0e6bea8909344f1f87a8aca728d8d62827ce2578c8b158157acd7c72 SHA512 13d499bcad3044ec50502026f5d61b11693c9ff5996978ff3101a705b71569749961f82855b9179d9da89a8e51c745ca5cf308ae6dbbd21242dd1d480323ba0b
+EBUILD powersoftplus-libftdi-0.1.8-r1.ebuild 749 BLAKE2B e5291443abd4e26e2238286151702124caa47d9a26ced05f62b05b45389c8c6f5700b9ee895a9e44dff4c00870181b9b881a4a79493e32efe34944a631253834 SHA512 c243682187eed94fa541cc2cebcc2b42d10cbc8d0fbc405f604a3435ab778c84d14af69b6c47e44c3cc14a72dba3de40bfa37c76ea12e74ac04a82c64a85a99d
+MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/dev-embedded/powersoftplus-libftdi/metadata.xml b/dev-embedded/powersoftplus-libftdi/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/dev-embedded/powersoftplus-libftdi/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild b/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild
new file mode 100644
index 000000000000..13da6435290b
--- /dev/null
+++ b/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit multilib toolchain-funcs
+
+MY_PN="${PN/-libftdi/}"
+MY_P="${MY_PN}-${PV}"
+
+TABFILE="libd2xx_table.so"
+TABFILEDIR="libftdi/lib_table"
+
+DESCRIPTION="Library which includes a table of VIDs and PIDs of Ever UPS devices"
+HOMEPAGE="http://www.ever.com.pl"
+SRC_URI="http://www.ever.com.pl/pl/pliki/${MY_P}-x86.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ cd "${TABFILEDIR}"
+
+ # Wipe out precompiled binary
+ emake clean
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ ftditabfile="${TABFILEDIR}/${TABFILE}"
+ dolib.so ${ftditabfile}
+}