mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
ft60x_driver: still unbuildable but cleaned up
This commit is contained in:
parent
a7c7373a6d
commit
707bcc325c
3 changed files with 30 additions and 15 deletions
|
|
@ -1 +1 @@
|
|||
DIST ft60x_driver-20190318.zip 18240 BLAKE2B 3cbcf14a2d4abea06b24651af00ab5b8b55b3c708dcb659b2957cd32573fade5de499d176ea4935756f17ab95c2ebd3895cde9f3e1f7532ed7ba891416ed26b4 SHA512 9a19209f01a48d416ac5a93f8a5e807d5a374d98dc5cdc9653f0922f0248a417770d1aa98bcaa32319178cf4c707965b2b8e7acefca4d4cfa563052b2f857886
|
||||
DIST ft60x_driver-20190318.tar.gz 16016 BLAKE2B b30026d2ddc320373c809a193a42e77c880d73f3a2c6323fe209d81db705a9dd6fecf9af3bce93a383f49199d5eb13dd64994b76b9b345083dfc5623aac73ba6 SHA512 7f1c84511619890bb9b637cc0c63e73681aa79acf3177d67aced90af6173608acae6e7dd394966667b720f15d2416aa7caaf0df5e659f7b32d37b8f21e8865ac
|
||||
|
|
|
|||
|
|
@ -1,31 +1,35 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit linux-mod udev
|
||||
inherit linux-mod-r1 udev
|
||||
|
||||
MY_COMMIT="c216cc41a2f9e4b4bc356fb2ca17359275a4f3cd"
|
||||
|
||||
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 ~arm64 x86"
|
||||
SRC_URI="https://github.com/lambdaconcept/ft60x_driver/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_COMMIT}"
|
||||
|
||||
MODULE_NAMES="ft60x(usb:${S}:${S})"
|
||||
BUILD_TARGETS="all"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
if use kernel_linux; then
|
||||
linux-mod-r1_pkg_setup
|
||||
else
|
||||
die "Could not determine proper ${PN} package"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local modlist=( ft60x=usb )
|
||||
linux-mod-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
linux-mod-r1_src_install
|
||||
udev_dorules 51-ft60x.rules
|
||||
}
|
||||
|
|
|
|||
11
sys-kernel/ft60x_driver/metadata.xml
Normal file
11
sys-kernel/ft60x_driver/metadata.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>noone@pentoo.org</email>
|
||||
<name>No One</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">lambdaconcept/ft60x_driver</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue