summaryrefslogtreecommitdiff
path: root/package/nodm
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-10-15 14:07:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-10-17 20:11:43 +0200
commitcabef62f6d41188f18b89d6fae503a0b322d13d7 (patch)
tree60595302644fbeee37b2ba77b1523878c43a4f6c /package/nodm
parent8262931856343ea36225a922a7eb632977455f45 (diff)
nodm: add new package
Diffstat (limited to 'package/nodm')
-rw-r--r--package/nodm/Makefile29
-rw-r--r--package/nodm/patches/patch-Makefile_am16
2 files changed, 45 insertions, 0 deletions
diff --git a/package/nodm/Makefile b/package/nodm/Makefile
new file mode 100644
index 000000000..6db403322
--- /dev/null
+++ b/package/nodm/Makefile
@@ -0,0 +1,29 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= nodm
+PKG_VERSION:= 0.13
+PKG_RELEASE:= 1
+PKG_HASH:= ef11667ae82846801a9633df36c20f632cc03319bb1da35f062ac0f950771273
+PKG_DESCR:= xorg display manager for autologin
+PKG_SECTION:= x11/misc
+PKG_DEPENDS:= pam
+PKG_BUILDDEP:= pam
+PKG_SITES:= https://github.com/spanezz/nodm/archive/
+
+DISTFILES:= $(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,NODM,nodm,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+AUTOTOOL_STYLE= autogen
+
+nodm-install:
+ $(INSTALL_DIR) $(IDIR_NODM)/usr/sbin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/nodm \
+ $(IDIR_NODM)/usr/sbin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/nodm/patches/patch-Makefile_am b/package/nodm/patches/patch-Makefile_am
new file mode 100644
index 000000000..6e2dad32d
--- /dev/null
+++ b/package/nodm/patches/patch-Makefile_am
@@ -0,0 +1,16 @@
+--- nodm-0.13.orig/Makefile.am 2017-01-23 17:29:56.000000000 +0100
++++ nodm-0.13/Makefile.am 2017-10-15 12:39:08.047309247 +0200
+@@ -39,13 +39,6 @@ nodm_SOURCES = $(libsources) \
+
+ nodm_CFLAGS = -DNODM_SESSION='"$(sbindir)/nodm"'
+
+-nodm.8: nodm
+- help2man --section=8 --name="X display manager for automatic logins" \
+- --no-info --include=nodm-man-extras ./$< > $@
+-
+-man_MANS = nodm.8 \
+- $(NULL)
+-
+ TESTS = test-internals test-xstart test-xsession
+ check_PROGRAMS = test-internals test-xstart test-xsession
+