d4dea7efcd
- update SPDX license identifier - use https in URL - use default PKG_BUILD_DIR Suggested-by: Josef Schlehofer <josef.schlehofer@nic.cz> Tested-by: Josef Schlehofer <josef.schlehofer@nic.cz> Signed-off-by: Sungbo Eo <mans0n@gorani.run>
31 lines
558 B
Makefile
31 lines
558 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=urandom-seed
|
|
PKG_VERSION:=1.0
|
|
PKG_RELEASE:=2
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/urandom-seed
|
|
SECTION:=base
|
|
CATEGORY:=Base system
|
|
DEPENDS:=+getrandom
|
|
TITLE:=/etc/urandom.seed handling for OpenWrt
|
|
URL:=https://openwrt.org/
|
|
endef
|
|
|
|
define Build/Prepare
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
endef
|
|
|
|
define Build/Compile/Default
|
|
endef
|
|
Build/Compile = $(Build/Compile/Default)
|
|
|
|
define Package/urandom-seed/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,urandom-seed))
|