New package: nodm-0.7
This commit is contained in:
parent
8e5745de7f
commit
7023b92277
2 changed files with 30 additions and 0 deletions
4
srcpkgs/nodm/files/nodm/run
Normal file
4
srcpkgs/nodm/files/nodm/run
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ -r conf ] && . ./conf
|
||||
export NODM_USER NODM_X_OPTIONS NODM_MIN_SESSION_TIME NODM_XINIT NODM_XSESSION
|
||||
exec nodm 1>&2
|
26
srcpkgs/nodm/template
Normal file
26
srcpkgs/nodm/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'nodm'
|
||||
pkgname=nodm
|
||||
version=0.7
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="help2man"
|
||||
makedepends="pam-devel"
|
||||
depends="xinit"
|
||||
short_desc="Minimalistic display manager for automatic logins"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
homepage="http://enricozini.org/sw/nodm/"
|
||||
distfiles="http://enricozini.org/sw/nodm/$pkgname-${version}.tar.gz"
|
||||
checksum=0f74cf5cd08f958923a3123a75e945ecc727cb486b51c87cf5a235445bd0c42a
|
||||
|
||||
pre_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# disable generating a man page with help2man while cross compiling.
|
||||
# nodm -h needs to be executed on the host for generating it.
|
||||
sed -i Makefile.in -e 's;man_MANS = nodm.8;;g'
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vsv nodm
|
||||
}
|
Loading…
Reference in a new issue