2014-02-06 09:54:57 +00:00
|
|
|
# Template file for 'qingy'
|
2015-02-18 17:15:34 +00:00
|
|
|
pkgname=qingy
|
|
|
|
version=1.0.0
|
2015-03-04 15:04:30 +00:00
|
|
|
revision=13
|
2014-04-02 14:10:07 +00:00
|
|
|
lib32disabled=yes
|
2014-02-06 09:54:57 +00:00
|
|
|
build_style=gnu-configure
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="ncurses-devel libressl-devel
|
2015-02-18 17:15:34 +00:00
|
|
|
$(vopt_if pam pam-devel) $(vopt_if x11 'libXScrnSaver-devel libX11-devel scrnsaverproto')"
|
|
|
|
configure_args="--disable-static --disable-DirectFB-support
|
|
|
|
$(vopt_enable pam) $(vopt_enable x11 x-support)"
|
|
|
|
short_desc="Qingy Is Not Getty"
|
2014-02-06 09:54:57 +00:00
|
|
|
maintainer="Jens E. Becker <v2px@v2px.de>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://qingy.sourceforge.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
|
|
checksum=de4b4b398d5ba81ab2544729864676a04ddc6ae818b357ee09a8770293740cd3
|
|
|
|
|
2014-02-10 11:52:29 +00:00
|
|
|
make_dirs="/var/lib/misc 0755 root root"
|
|
|
|
|
2014-02-06 10:13:42 +00:00
|
|
|
conf_files="
|
|
|
|
/etc/pam.d/qingy
|
|
|
|
/etc/qingy/settings
|
|
|
|
/etc/qingy/welcomes"
|
|
|
|
|
2015-02-18 17:15:34 +00:00
|
|
|
build_options="pam systemd x11"
|
2014-02-06 09:54:57 +00:00
|
|
|
build_options_default="pam x11"
|
|
|
|
|
|
|
|
post_install() {
|
2015-02-18 17:15:34 +00:00
|
|
|
if [ "$build_option_systemd" ]; then
|
|
|
|
vinstall ${FILESDIR}/qingy@.service 644 usr/lib/systemd/system
|
|
|
|
fi
|
|
|
|
sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
|
|
|
|
sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings
|
2014-02-06 09:54:57 +00:00
|
|
|
}
|