kiddin9-packages/luci-lib-mac-vendor/Makefile
github-actions[bot] 9126da3fa6 🏅 Sync 2022-09-05 03:00:40
2022-09-05 03:00:40 +08:00

30 lines
777 B
Makefile

# Copyright (C) 2016 Openwrt.org
#
# This is free software, licensed under the Apache License, Version 2.0 .
#
include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI mac to vendor map
LUCI_DESCRIPTION:=provide a js for mac address to vendor mapping
LUCI_PKGARCH:=all
# PKG_RELEASE MUST be empty for luci.mk
LIB_VERSION:=1.0.2
PKG_HASH:=skip
PKG_SOURCE_URL_FILE:=v$(LIB_VERSION).tar.gz
PKG_SOURCE:=mac_vendor-$(PKG_SOURCE_URL_FILE)
PKG_SOURCE_URL:=https://github.com/jjm2473/mac_vendor/archive/refs/tags
PKG_MAINTAINER:=jjm2473 <jjm2473@gmail.com>
TARGET_CONFIGURE_OPTS= LIB_DIST="$(BUILD_DIR)/mac_vendor-$(LIB_VERSION)/dist" LIB_VERSION="$(LIB_VERSION)"
TARGET_CONFIGURE_OPTS+= SED="$(SED)"
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature