8d5af88e79a8d2fae5c3587a086217f49e0117c5
[openwrt/openwrt.git] / package / system / urandom-seed / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=urandom-seed
4 PKG_RELEASE:=3
5 PKG_LICENSE:=GPL-2.0-only
6
7 include $(INCLUDE_DIR)/package.mk
8
9 define Package/urandom-seed
10 SECTION:=base
11 CATEGORY:=Base system
12 DEPENDS:=+getrandom
13 TITLE:=/etc/urandom.seed handling for OpenWrt
14 URL:=https://openwrt.org/
15 endef
16
17 define Build/Prepare
18 mkdir -p $(PKG_BUILD_DIR)
19 endef
20
21 define Build/Quilt
22 endef
23
24 define Build/Compile/Default
25 endef
26 Build/Compile = $(Build/Compile/Default)
27
28 define Package/urandom-seed/install
29 $(CP) ./files/* $(1)/
30 endef
31
32 $(eval $(call BuildPackage,urandom-seed))