new package: add package 'libffi'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-21 21:41:16 +02:00
parent b1399c17b1
commit 3059fb71b1
4 changed files with 37 additions and 0 deletions

16
packages/devel/libffi/build Executable file
View File

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

6
packages/devel/libffi/install Executable file
View File

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

View File

@ -0,0 +1,14 @@
PKG_NAME="libffi"
PKG_VERSION="3.0.9"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://sourceware.org/$PKG_NAME/"
PKG_URL="ftp://sourceware.org/pub/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="Foreign Function Interface Library"
PKG_LONGDESC="The libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run-time."
PKG_IS_ADDON="no"

View File

@ -0,0 +1 @@
ftp://sourceware.org/pub/libffi/libffi-3.0.9.tar.gz