tcpreplay: Bump version to v4.2.0
[buildroot-gz.git] / package / nodm / nodm.mk
blobda6bc8503c09dba39f231e9dffc3ed805c7d8761
1 ################################################################################
3 # nodm
5 ################################################################################
7 NODM_VERSION = 0.12-1
8 NODM_SITE = $(call github,spanezz,nodm,debian/$(NODM_VERSION))
9 NODM_LICENSE = GPLv2+
10 NODM_LICENSE_FILES = COPYING
11 NODM_AUTORECONF = YES
13 NODM_DEPENDENCIES = xlib_libX11 linux-pam
15 # help2man doesn't work when cross compiling
16 define NODM_DISABLE_HELP2MAN
17 $(SED) 's/help2man/true/' $(@D)/Makefile.am
18 endef
20 NODM_POST_PATCH_HOOKS += NODM_DISABLE_HELP2MAN
22 define NODM_INSTALL_PAM
23 $(INSTALL) -D -m 0644 package/nodm/nodm.pam \
24 $(TARGET_DIR)/etc/pam.d/nodm
25 endef
27 NODM_POST_INSTALL_TARGET_HOOKS += NODM_INSTALL_PAM
29 define NODM_INSTALL_INIT_SYSV
30 $(INSTALL) -D -m 0755 package/nodm/S90nodm \
31 $(TARGET_DIR)/etc/init.d/S90nodm
32 endef
34 $(eval $(autotools-package))