python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / haveged / haveged.mk
blob66d69a6d7ae85727f1fb63bd0cb5008e9018e839
1 ################################################################################
3 # haveged
5 ################################################################################
7 HAVEGED_VERSION = 1.9.1
8 HAVEGED_SITE = http://www.issihosts.com/haveged
9 HAVEGED_LICENSE = GPLv3+
10 HAVEGED_LICENSE_FILES = COPYING
12 ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y)
13 HAVEGED_CONF_OPTS += --enable-clock_gettime=yes
14 endif
16 define HAVEGED_INSTALL_INIT_SYSV
17 $(INSTALL) -m 755 -D package/haveged/S21haveged \
18 $(TARGET_DIR)/etc/init.d/S21haveged
19 endef
21 define HAVEGED_INSTALL_INIT_SYSTEMD
22 $(INSTALL) -D -m 644 package/haveged/haveged.service \
23 $(TARGET_DIR)/usr/lib/systemd/system/haveged.service
24 mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
25 ln -fs /usr/lib/systemd/system/haveged.service \
26 $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/haveged.service
27 endef
29 $(eval $(autotools-package))