# SliTaz package receipt.

PACKAGE="enet"
VERSION="1.2.1"
CATEGORY="development"
SHORT_DESC="relatively thin, simple and robust network communication layer on top of UDP"
MAINTAINER="devl547@gmail.com"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://enet.bespin.org/"
WGET_URL="$WEB_SITE/download/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr --infodir=/usr/share/info \
	--mandir=/usr/share/man --enable-crc32 $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $_pkg/usr/lib/*a $fs/usr/lib
	cp -a $_pkg/usr/include $fs/usr
}