diff --git a/app-forensics/pcileech/pcileech-3.1.ebuild b/app-forensics/pcileech/pcileech-3.1.ebuild index cff8fa44c..9760cf912 100644 --- a/app-forensics/pcileech/pcileech-3.1.ebuild +++ b/app-forensics/pcileech/pcileech-3.1.ebuild @@ -10,9 +10,10 @@ SRC_URI="https://github.com/ufrisk/pcileech/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="python" +IUSE="ft60x_driver" -DEPEND="virtual/libusb:1" +DEPEND="virtual/libusb:1 + ft60x_driver? ( sys-kernel/ft60x_driver )" RDEPEND="${DEPEND}" src_compile() { diff --git a/profiles/pentoo/base/package.accept_keywords/sys-kernel b/profiles/pentoo/base/package.accept_keywords/sys-kernel index 3f22eb8c8..c3040a323 100644 --- a/profiles/pentoo/base/package.accept_keywords/sys-kernel +++ b/profiles/pentoo/base/package.accept_keywords/sys-kernel @@ -11,3 +11,5 @@ sys-kernel/ax88179_178a sys-kernel/pf_ring-kmod sys-kernel/minipli-sources + +sys-kernel/ft60x_driver diff --git a/sys-kernel/ft60x_driver/Manifest b/sys-kernel/ft60x_driver/Manifest new file mode 100644 index 000000000..cc0ea4f71 --- /dev/null +++ b/sys-kernel/ft60x_driver/Manifest @@ -0,0 +1 @@ +DIST ft60x_driver-20180209.zip 17430 BLAKE2B f3f7fff75add035ec390982d9df9079f95970d12f877d6d1baa8ebbb54aa691eb5e93b60fb4191fae2cba86d22b2f385b9d21fe1eeec980d443de36e7150ae93 SHA512 0f9af5697486d645dd9c0b9995212df73b03a2f4559ef98d8bdec49cf5be4da11ca387712ebe3c66da0b34f363e1b4d8f77c7d3fd7e9ece4ba72e6cf4b476827 diff --git a/sys-kernel/ft60x_driver/ft60x_driver-20180209.ebuild b/sys-kernel/ft60x_driver/ft60x_driver-20180209.ebuild new file mode 100644 index 000000000..28fc4e07e --- /dev/null +++ b/sys-kernel/ft60x_driver/ft60x_driver-20180209.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit linux-mod udev + +MY_COMMIT="4299a497c043cc3ddf4cb8dfcc0d4a45d44b80f9" + +DESCRIPTION="USB FT60x driver" +HOMEPAGE="https://github.com/lambdaconcept/ft60x_driver" +SRC_URI="https://github.com/lambdaconcept/ft60x_driver/archive/${MY_COMMIT}.zip -> ${P}.zip" + +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~x86 ~arm ~arm64" +IUSE="" + +S="${WORKDIR}/${PN}-${MY_COMMIT}" + +MODULE_NAMES="ft60x(usb:${S}:${S})" +BUILD_TARGETS="all" + +pkg_setup() { + linux-mod_pkg_setup +} + +src_install() { + linux-mod_src_install + udev_dorules 51-ft60x.rules +}