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

pkgname=enet
pkgver=1.2
pkgrel=1gv
arch=i486
source=(http://enet.bespin.org/download/enet-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "license" "readme")
url=http://enet.bespin.org

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"enet - a UDP networking library"
"ENet's purpose is to provide a relatively thin, simple and robust"
"network communication layer on top of UDP (User Datagram Protocol)."
"The primary feature it provides is optional reliable, in-order"
"delivery of packets. ENet is NOT intended to be a general purpose high"
"level networking library that handles authentication, lobbying, server"
"discovery, compression, encryption and other high level, often"
"application level or dependent tasks."
)


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