Ver código fonte

nodm: add new package

Waldemar Brodkorb 7 anos atrás
pai
commit
cabef62f6d
2 arquivos alterados com 45 adições e 0 exclusões
  1. 29 0
      package/nodm/Makefile
  2. 16 0
      package/nodm/patches/patch-Makefile_am

+ 29 - 0
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

+ 16 - 0
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
+