1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="EEPROM reader routines for 93cx6 chipsets."
9 HOMEPAGE="http://rt2x00.serialmonkey.com/"
10 SRC_URI="http://dev.gentooexperimental.org/~jakub/distfiles/${MY_PN}-${PV}.tar.gz"
20 S="${WORKDIR}/drivers/misc"
22 BUILD_PARAMS="CONFIG_EEPROM_93CX6=m -C ${KV_DIR} M=${S}"
23 BUILD_TARGETS="modules"
24 MODULE_NAMES="eeprom_93cx6()"
28 echo "CFLAGS += -I${WORKDIR}/include" >> ${S}/Makefile
33 dodir /usr/include/eeprom_93cx6/linux/
34 insinto /usr/include/eeprom_93cx6/linux/
35 doins "${WORKDIR}"/include/linux/eeprom_93cx6.h