summaryrefslogtreecommitdiff
path: root/sysutils/iwn-firmware/Makefile
blob: 7901f422d1d6c3d76170379253441ac457ddd1a6 (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.3 2015/03/06 21:54:56 tnn Exp $
#

DISTNAME=		iwlwifi-4965-ucode-${PKG_VERSION}
PKGNAME=		iwn-firmware-${PKG_VERSION}
CATEGORIES=		sysutils
MASTER_SITES=		http://intellinuxwireless.org/iwlwifi/downloads/ \
			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"