mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
pcileech: add ft60x_driver
This commit is contained in:
parent
11b89b5cba
commit
5f26ecf335
4 changed files with 38 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -11,3 +11,5 @@ sys-kernel/ax88179_178a
|
|||
sys-kernel/pf_ring-kmod
|
||||
|
||||
sys-kernel/minipli-sources
|
||||
|
||||
sys-kernel/ft60x_driver
|
||||
|
|
|
|||
1
sys-kernel/ft60x_driver/Manifest
Normal file
1
sys-kernel/ft60x_driver/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST ft60x_driver-20180209.zip 17430 BLAKE2B f3f7fff75add035ec390982d9df9079f95970d12f877d6d1baa8ebbb54aa691eb5e93b60fb4191fae2cba86d22b2f385b9d21fe1eeec980d443de36e7150ae93 SHA512 0f9af5697486d645dd9c0b9995212df73b03a2f4559ef98d8bdec49cf5be4da11ca387712ebe3c66da0b34f363e1b4d8f77c7d3fd7e9ece4ba72e6cf4b476827
|
||||
32
sys-kernel/ft60x_driver/ft60x_driver-20180209.ebuild
Normal file
32
sys-kernel/ft60x_driver/ft60x_driver-20180209.ebuild
Normal file
|
|
@ -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
|
||||
}
|
||||
Loading…
Reference in a new issue