mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Initial .bep file for enet from michaelvoliveira
This commit is contained in:
22
net-libs/enet/enet-1.3.0.bep
Normal file
22
net-libs/enet/enet-1.3.0.bep
Normal 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"
|
||||
12
net-libs/enet/patches/enet-1.3.0.patch
Normal file
12
net-libs/enet/patches/enet-1.3.0.patch
Normal 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>
|
||||
Reference in New Issue
Block a user