void-packages/srcpkgs/qingy/template

34 lines
1021 B
Bash

# Template file for 'qingy'
pkgname=qingy
version=1.0.0
revision=30
build_style=gnu-configure
configure_args="--disable-optimizations --disable-static --disable-DirectFB-support
--enable-crypto=libgcrypt $(vopt_enable pam) $(vopt_enable x11 x-support)"
makedepends="ncurses-devel libgcrypt-devel $(vopt_if pam pam-devel)
$(vopt_if x11 'libXScrnSaver-devel libX11-devel xorgproto')"
short_desc="Qingy Is Not Getty"
maintainer="Jens E. Becker <v2px@v2px.de>"
license="GPL-2.0-or-later"
homepage="http://qingy.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=de4b4b398d5ba81ab2544729864676a04ddc6ae818b357ee09a8770293740cd3
lib32disabled=yes
make_dirs="/var/lib/misc 0755 root root"
conf_files="
/etc/pam.d/qingy
/etc/qingy/settings
/etc/qingy/welcomes"
build_options="pam x11"
build_options_default="pam x11"
CFLAGS="-fcommon"
post_install() {
sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings
}