Initial .bep file for enet from michaelvoliveira

This commit is contained in:
Scott McCreary
2010-09-26 18:54:28 +00:00
parent 47dc0b202c
commit 330d167d06
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
DESCRIPTION="enet"
HOMEPAGE="http://enet.bespin.org"
SRC_URI="http://enet.bespin.org/download/enet-1.3.0.tar.gz"
CHECKSUM_MD5="3ea50cc5f2f4bbea32abae0d50b64e3c"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd enet-1.3.0
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=/boot/common
}
INSTALL {
cd enet-1.3.0
make install
}
LICENSE="MIT"
COPYRIGHT="2002-2010 Lee Salzman"

View File

@@ -0,0 +1,12 @@
diff -Naur enet-1.3.0/configure.ac enet-1.3.0-haiku/configure.ac
--- enet-1.3.0/configure.ac 2010-06-09 21:22:33.031981568 +0000
+++ enet-1.3.0-haiku/configure.ac 2010-08-09 01:56:24.870842368 +0000
@@ -16,6 +16,8 @@
AC_CHECK_MEMBER(struct msghdr.msg_flags, [AC_DEFINE(HAS_MSGHDR_FLAGS)], , [#include <sys/socket.h>])
+AC_CHECK_LIB(network, connect)
+
AC_CHECK_TYPE(socklen_t, [AC_DEFINE(HAS_SOCKLEN_T)], ,
#include <sys/types.h>
#include <sys/socket.h>