27 lines
732 B
Bash
27 lines
732 B
Bash
|
# 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
|
||
|
}
|