diff options
author | Jakub Moc <jakub@gentoo.org> | 2007-05-14 09:25:15 +0000 |
---|---|---|
committer | Jakub Moc <jakub@gentoo.org> | 2007-05-14 09:25:15 +0000 |
commit | ce93ddc4c8ea47bd4d10301ea8bd64925d3a3907 (patch) | |
tree | da51d911e0c00adbda758368c28122ddac84c358 /net-wireless/crc-itu-t/crc-itu-t-20070513.ebuild | |
parent | net-wireless/mac80211: Fix quoting, cosmetics (diff) | |
download | sunrise-ce93ddc4c8ea47bd4d10301ea8bd64925d3a3907.tar.gz sunrise-ce93ddc4c8ea47bd4d10301ea8bd64925d3a3907.tar.bz2 sunrise-ce93ddc4c8ea47bd4d10301ea8bd64925d3a3907.zip |
net-wireless/crc-itu-t: New ebuild, needed for rt2x00 git versions, thanks to Dick Marinus. Bug 176148
svn path=/sunrise/; revision=3628
Diffstat (limited to 'net-wireless/crc-itu-t/crc-itu-t-20070513.ebuild')
-rw-r--r-- | net-wireless/crc-itu-t/crc-itu-t-20070513.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-wireless/crc-itu-t/crc-itu-t-20070513.ebuild b/net-wireless/crc-itu-t/crc-itu-t-20070513.ebuild new file mode 100644 index 000000000..3f10a953a --- /dev/null +++ b/net-wireless/crc-itu-t/crc-itu-t-20070513.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit linux-mod + +MY_PN="rt2x00-git" +DESCRIPTION="CRC ITU-T V.41 calculations" +HOMEPAGE="http://rt2x00.serialmonkey.com/" +SRC_URI="http://dev.gentooexperimental.org/~jakub/distfiles/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/lib" + +BUILD_PARAMS="CONFIG_CRC_ITU_T=m + -C ${KERNEL_DIR} M=${S}" +BUILD_TARGETS="modules" +MODULE_NAMES="crc-itu-t()" + +src_unpack() { + unpack ${A} + echo 'obj-$(CONFIG_CRC_ITU_T) += crc-itu-t.o' > ${S}/Makefile + echo "CFLAGS += -I${WORKDIR}/include" >> ${S}/Makefile +} + +src_install() { + linux-mod_src_install + dodir /usr/include/crc-itu-t/linux/ + insinto /usr/include/crc-itu-t/linux/ + doins "${WORKDIR}"/include/linux/crc-itu-t.h +} |