new package: add package 'libevent'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-03 14:56:08 +01:00
parent 4ea1cb6100
commit 7f4d38557e
3 changed files with 27 additions and 0 deletions

19
packages/devel/libevent/build Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
. config/options $1
$SCRIPTS/build toolchain
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
--datadir=/usr/share \
--enable-shared \
--disable-static \
make
$MAKEINSTALL

View File

@ -0,0 +1,7 @@
#!/bin/sh
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/.libs/libevent*.so* $INSTALL/usr/lib

View File

@ -0,0 +1 @@
http://monkey.org/~provos/libevent-1.4.14b-stable.tar.gz