mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
new package: add package 'libffi'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b1399c17b1
commit
3059fb71b1
16
packages/devel/libffi/build
Executable file
16
packages/devel/libffi/build
Executable 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
6
packages/devel/libffi/install
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/.libs/*.so* $INSTALL/usr/lib
|
14
packages/devel/libffi/meta
Normal file
14
packages/devel/libffi/meta
Normal 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"
|
1
packages/devel/libffi/url
Normal file
1
packages/devel/libffi/url
Normal file
@ -0,0 +1 @@
|
||||
ftp://sourceware.org/pub/libffi/libffi-3.0.9.tar.gz
|
Loading…
x
Reference in New Issue
Block a user