1 ################################################################################
5 ################################################################################
8 NODM_SITE
= $(call github
,spanezz
,nodm
,debian
/$(NODM_VERSION
))
10 NODM_LICENSE_FILES
= COPYING
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
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
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
34 $(eval
$(autotools-package
))