1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 20:03:57 +02:00
openwrt-packages/utils/hwdata/Makefile
Josef Schlehofer 22ae08919e
hwdata: update to version 0.347
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-05-03 20:00:53 +02:00

48 lines
1.1 KiB
Makefile

#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=hwdata
PKG_VERSION:=0.347
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/vcrhonek/hwdata/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=1574e39b5ebd0763beb1fe986cd1a2d17ec81ba0a2f1a61cf27d9b3c62a5a8fa
PKG_MAINTAINER:=
PKG_LICENSE:=GPL-2.0-or-later XFree86-1.0
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/pciids
SECTION:=utils
CATEGORY:=Utilities
TITLE:=PCI ID list
URL:=https://github.com/vcrhonek/hwdata
endef
define Package/usbids
SECTION:=utils
CATEGORY:=Utilities
TITLE:=USB ID list
URL:=https://github.com/vcrhonek/hwdata
endef
define Package/pciids/install
$(INSTALL_DIR) $(1)/usr/share/hwdata
$(INSTALL_DATA) $(PKG_BUILD_DIR)/pci.ids $(1)/usr/share/hwdata
endef
define Package/usbids/install
$(INSTALL_DIR) $(1)/usr/share/hwdata
$(INSTALL_DATA) $(PKG_BUILD_DIR)/usb.ids $(1)/usr/share/hwdata
endef
$(eval $(call BuildPackage,pciids))
$(eval $(call BuildPackage,usbids))