diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-04-16 18:25:51 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-04-16 18:25:51 +0200 |
commit | d9ec8413744faaba3543bff9773bdad9786260ab (patch) | |
tree | e3cb78524323873b8f164c43c1816e2bc3b86ff3 /sys-fs/usb-rndis-lite/usb-rndis-lite-0.11.ebuild | |
parent | bf18b144c79fc2d322d627eccd267973b4ee3812 (diff) | |
download | overlay-d9ec8413744faaba3543bff9773bdad9786260ab.tar.gz overlay-d9ec8413744faaba3543bff9773bdad9786260ab.tar.bz2 overlay-d9ec8413744faaba3543bff9773bdad9786260ab.zip |
Added stuff from laptop
Diffstat (limited to '')
-rw-r--r-- | sys-fs/usb-rndis-lite/usb-rndis-lite-0.11.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-fs/usb-rndis-lite/usb-rndis-lite-0.11.ebuild b/sys-fs/usb-rndis-lite/usb-rndis-lite-0.11.ebuild new file mode 100644 index 0000000..c85f51b --- /dev/null +++ b/sys-fs/usb-rndis-lite/usb-rndis-lite-0.11.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils linux-info linux-mod + +DESCRIPTION="rndis protocol driver" +HOMEPAGE="http://www.synce.org" +LICENSE="GPL" +KEYWORDS="~x86 ~amd64" + +RDEPEND="" +DEPEND=">=virtual/linux-sources-2.6 + !sys-fs/usb-rndis + !sys-fs/usb-rndis-ng" + +MY_P="${P}" +SRC_URI="mirror://sourceforge/synce/${MY_P}.tar.gz" + +BUILD_TARGETS="default" + +S="${WORKDIR}/${MY_P}" +MODULE_NAMES="rndis_host(usb/rndis:${S}) usbnet(usb/rndis:${S}) cdc_ether(usb/rndis:${S})" + +pkg_setup() { + if kernel_is 2 4; then + die "${P} does not support building against kernel 2.4.x" + else + einfo "kernel version ok" + fi + + linux_chkconfig_present USB_ETH || die "kernel CONFIG_USB_ETH is needed" + linux_chkconfig_present USB_ETH_RNDIS || die "kernel CONFIG_USB_ETH_RNDIS is needed" + + linux-mod_pkg_setup +} + |