2014-02-06 10:54:57 +01:00
|
|
|
# Template file for 'qingy'
|
|
|
|
pkgname="qingy"
|
|
|
|
version="1.0.0"
|
2014-04-02 16:10:07 +02:00
|
|
|
revision=10
|
|
|
|
lib32disabled=yes
|
2014-02-06 10:54:57 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
makedepends="ncurses-devel openssl-devel"
|
2014-02-06 11:13:42 +01:00
|
|
|
configure_args="--disable-static --disable-DirectFB-support"
|
2014-02-06 10:54:57 +01:00
|
|
|
short_desc="Qingy Is Not GettY"
|
|
|
|
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 12:52:29 +01:00
|
|
|
make_dirs="/var/lib/misc 0755 root root"
|
|
|
|
|
2014-02-06 11:13:42 +01:00
|
|
|
conf_files="
|
|
|
|
/etc/pam.d/qingy
|
|
|
|
/etc/qingy/settings
|
|
|
|
/etc/qingy/welcomes"
|
|
|
|
|
2014-02-06 10:54:57 +01:00
|
|
|
build_options="pam x11"
|
|
|
|
build_options_default="pam x11"
|
|
|
|
|
|
|
|
if [ "$build_option_pam" ]; then
|
|
|
|
configure_args+=" --enable-pam"
|
2014-02-06 11:03:38 +01:00
|
|
|
makedepends+=" pam-devel"
|
2014-02-06 10:54:57 +01:00
|
|
|
else
|
|
|
|
configure_args+=" --disable-pam"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_x11" ]; then
|
|
|
|
configure_args+=" --enable-x-support"
|
|
|
|
makedepends+=" libXScrnSaver-devel libX11-devel scrnsaverproto"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-x-support"
|
|
|
|
fi
|
|
|
|
|
|
|
|
post_install() {
|
2014-02-11 00:36:17 +01:00
|
|
|
vinstall ${FILESDIR}/qingy@.service 644 usr/lib/systemd/system
|
2014-02-10 00:45:40 +01:00
|
|
|
sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
|
2014-02-10 01:04:23 +01:00
|
|
|
sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings
|
2014-02-06 10:54:57 +01:00
|
|
|
}
|