mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Removed the full-stop and repeating package name in SUMMARY. Removed hard line breaks, broke up some very long paragraphs and use bullet lists where possible. All done by browsing through HaikuDepot. There may be (many) more left in the whole haikuports repo... Included 10 extended desriptions done by soyoye14 for GCI 2014 (https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632) Removed/insert whitespace where it seems to be the custom in recipes. Sometimes rearranged elements of a recipe (moving license and copyright up, for example).
66 lines
1.6 KiB
Plaintext
66 lines
1.6 KiB
Plaintext
SUMMARY="A portable, high level programming interface"
|
|
DESCRIPTION="
|
|
Libffi is a foreign function interface library which gives its user a \
|
|
C programming language interface used to call natively compiled functions. \
|
|
Libffi is typically used as a bridging technology between compiled \
|
|
and interpreted language implementations. It can also be used to \
|
|
implement plugins."
|
|
HOMEPAGE="http://sourceware.org/libffi"
|
|
LICENSE="MIT"
|
|
REVISION="2"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
|
|
|
SRC_URI="ftp://sourceware.org/pub/libffi/libffi-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37"
|
|
COPYRIGHT="1996-2013 Anthony Green, Red Hat, Inc and others."
|
|
PATCHES="libffi-$portVersion.patchset"
|
|
|
|
PROVIDES="
|
|
libffi$secondaryArchSuffix = $portVersion compat >= 3
|
|
lib:libffi$secondaryArchSuffix = 6.0.4 compat >= 6
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:awk
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
mkdir -p $includeDir
|
|
mv -f $libDir/libffi-$portVersion/include/*.h* $includeDir
|
|
rm -rf $libDir/libffi-$portVersion
|
|
|
|
prepareInstalledDevelLibs libffi
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir \
|
|
$documentationDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
libffi${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libffi$secondaryArchSuffix = 6.0.4 compat >= 6
|
|
"
|
|
REQUIRES_devel="
|
|
libffi$secondaryArchSuffix == $portVersion base
|
|
"
|