Makefile 746 B

123456789101112131415161718192021
  1. # $OpenBSD: Makefile,v 1.5 2015/02/15 06:07:22 daniel Exp $
  2. FW_DRIVER= wpi
  3. FW_VER= 3.2
  4. DISTNAME= iwlwifi-3945-ucode-15.32.2.9
  5. REVISION= 1
  6. WRKDIST= ${WRKDIR}
  7. EXTRACT_SUFX= .tgz
  8. HOMEPAGE= http://www.intellinuxwireless.org/
  9. MASTER_SITES= https://wireless.wiki.kernel.org/_media/en/users/drivers/ \
  10. http://firmware.openbsd.org/firmware-dist/
  11. do-install:
  12. ${INSTALL_DATA} ${WRKSRC}/iwlwifi-3945-ucode-15.32.2.9/LICENSE.iwlwifi-3945-ucode ${PREFIX}/firmware/wpi-license
  13. echo "\nThe following file is under this license:\n\nwpi-3945abg\n\nThis file is needed by wpi(4) devices." >> ${PREFIX}/firmware/wpi-license
  14. ${INSTALL_DATA} ${WRKSRC}/iwlwifi-3945-ucode-15.32.2.9/iwlwifi-3945-2.ucode ${PREFIX}/firmware/wpi-3945abg
  15. .include <bsd.port.mk>