1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="CRC ITU-T V.41 calculations"
9 HOMEPAGE="http://rt2x00.serialmonkey.com/"
10 SRC_URI="http://dev.gentooexperimental.org/~jakub/distfiles/${MY_PN}-${PV}.tar.gz"
22 BUILD_PARAMS="CONFIG_CRC_ITU_T=m
23 -C ${KERNEL_DIR} M=${S}"
24 BUILD_TARGETS="modules"
25 MODULE_NAMES="crc-itu-t()"
29 echo 'obj-$(CONFIG_CRC_ITU_T) += crc-itu-t.o' > ${S}/Makefile
30 echo "CFLAGS += -I${WORKDIR}/include" >> ${S}/Makefile
35 dodir /usr/include/crc-itu-t/linux/
36 insinto /usr/include/crc-itu-t/linux/
37 doins "${WORKDIR}"/include/linux/crc-itu-t.h