#Maintainer: Markus Muttilainen <stillbornDOTzenwalkATgmailDOTcom>
#Former Maintainer(s): Name <email@address.com>
#Anything commented out is optional and can be deleted.

pkgname=qingy
pkgver=0.9.9
pkgrel=1mm
arch=i486
source=(http://downloads.sourceforge.net/project/qingy/qingy/qingy%200.9.9/qingy-0.9.9.tar.bz2?use_mirror=sunet)
#sourcetemplate=http://users.zenwalk.org/user-accounts/pnboy/$pkgname/$pkgver/
docs=("thanks" "readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://qingy.sourceforge.net/
#dotnew=()
#CFLAGS=
#CXXFLAGS=
#options=('noextract')

#doinst() {
#
#}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"qingy - qingy is a replacement for getty"
"Written in C, it uses DirectFB to provide a fast, nice GUI without the" 
"overhead of the X Windows System. It allows the user to log in and" 
"start the session of his choice (text console, gnome, kde, wmaker,..)."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
        sed -i 's/-Os -fomit-frame-pointer/-march=i486 -mtune=i686 -Os -fomit-frame-pointer/' configure.in
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc
	make || return 1
	make install DESTDIR=$startdir/pkg
}