#Maintainer: George Vlahavas (vlahavas~at~gmail.com)

pkgname=gnet
pkgver=2.0.8
pkgrel=1rl
source=("http://ftp.gnome.org/pub/GNOME/sources/gnet/2.0/gnet-2.0.8.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "hacking" "bugs")
url=http://www.gnetlibrary.org/


slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gnet (a simple network library)"
"GNet is a simple network library. It is written in C, object-oriented,"
"and built upon GLib. It is intended to be easy to use and port. GNet"
"comes with documentation and examples. It is licensed under the GNU"
"Library General Public License."
)


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