#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=libinklevel
pkgver=0.8.0
pkgrel=1gv
arch=x86_64
source=(http://downloads.sourceforge.net/project/libinklevel/libinklevel/$pkgver/libinklevel-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://libinklevel.sourceforge.net/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libinklevel -  Check the ink level of your printer with linux"
"Libinklevel is a library for checking the ink level of your printer on"
"a system which runs Linux or (Open)Solaris. It supports printers"
"attached via parallel port or usb. Currently printers of the following"
"brands are supported: HP, Epson and Canon. Canon BJNP network printers"
"are supported too. This is not official software from the printer"
"manufacturers. The goal of this project is to create a vendor"
"independent API for retrieving the ink level of a printer connected"
"to a Linux or (Open)Solaris box."

)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg
}