summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2007-05-14 09:25:15 +0000
committerJakub Moc <jakub@gentoo.org>2007-05-14 09:25:15 +0000
commitce93ddc4c8ea47bd4d10301ea8bd64925d3a3907 (patch)
treeda51d911e0c00adbda758368c28122ddac84c358 /net-wireless/crc-itu-t/crc-itu-t-20070513.ebuild
parentnet-wireless/mac80211: Fix quoting, cosmetics (diff)
downloadsunrise-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.ebuild38
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
+}