summaryrefslogtreecommitdiff
path: root/sysutils/iwn-firmware/Makefile
blob: be1c01cca3b19be805b2a8c2c8af2325cdedd064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.4 2017/01/19 18:52:26 agc Exp $
#

DISTNAME=		iwlwifi-4965-ucode-${PKG_VERSION}
PKGNAME=		iwn-firmware-${PKG_VERSION}
CATEGORIES=		sysutils
MASTER_SITES=		http://intellinuxwireless.org/iwlwifi/downloads/
MASTER_SITES+=		http://firmware.openbsd.org/firmware-dist/
EXTRACT_SUFX=		.tgz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://intellinuxwireless.org/
COMMENT=		Firmware binary image for the iwn(4) driver

NO_CONFIGURE=		yes
NO_BUILD=		yes

PKG_VERSION=		4.44.1.20
FIRMNAME=		iwlwifi-4965.ucode

INSTALLATION_DIRS=	libdata/if_iwn

do-install:
	${INSTALL_DATA} ${WRKSRC}/LICENSE.iwlwifi-4965-ucode ${DESTDIR}${PREFIX}/libdata/if_iwn
	${INSTALL_DATA} ${WRKSRC}/README.iwlwifi-4965-ucode ${DESTDIR}${PREFIX}/libdata/if_iwn
	${INSTALL_DATA} ${WRKSRC}/iwlwifi-4965-1.ucode ${DESTDIR}${PREFIX}/libdata/if_iwn/${FIRMNAME}

.include "../../mk/bsd.pkg.mk"