You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-wireless/wireless-regdb/wireless-regdb-20141118.ebuild

35 lines
1.0 KiB

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-regdb/wireless-regdb-20141118.ebuild,v 1.4 2015/03/03 09:42:55 dlan Exp $
EAPI=5
MY_P="wireless-regdb-${PV:0:4}.${PV:4:2}.${PV:6:2}"
DESCRIPTION="Binary regulatory database for CRDA"
HOMEPAGE="http://wireless.kernel.org/en/developers/Regulatory"
SRC_URI="https://www.kernel.org/pub/software/network/${PN}/${MY_P}.tar.xz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~mips ppc ~ppc64 ~sparc x86"
IUSE=""
S="${WORKDIR}/${MY_P}"
src_compile() {
einfo "Recompiling regulatory.bin from db.txt would break CRDA verify. Installing unmodified binary version."
}
src_install() {
# This file is not ABI-specific, and crda itself always hardcodes
# this path. So install into a common location for all ABIs to use.
insinto /usr/lib/crda
doins regulatory.bin
insinto /etc/wireless-regdb/pubkeys
doins linville.key.pub.pem
doman regulatory.bin.5
dodoc README db.txt
}