mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 18:40:19 +02:00
25 lines
683 B
Bash
25 lines
683 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=5
|
|
|
|
inherit linux-info linux-mod
|
|
|
|
DESCRIPTION="A kernel module for the ASIX USB 3.0 AX88179 ethernet controller"
|
|
HOMEPAGE="http://www.asix.com.tw/download.php?sub=driverdetail&PItemID=131"
|
|
SRC_URI="http://www.asix.com.tw/FrootAttach/driver/${PN^^}_LINUX_DRIVER_v${PV}_SOURCE.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
S="${WORKDIR}/${PN^^}_LINUX_DRIVER_v${PV}_SOURCE"
|
|
|
|
CONFIG_CHECK="USB_USBNET"
|
|
MODULE_NAMES="${PN}(net/usb:)"
|
|
BUILD_TARGETS="default"
|
|
|
|
src_prepare() {
|
|
sed -i 's/make -C/${MAKE} -C/' Makefile || die 'Failed sed on Makefile'
|
|
}
|