0
0
Fork 0
haikuports/dev-libs/liboil/liboil-0.3.17.recipe

75 lines
1.5 KiB
Bash

SUMMARY="Library of Optimized Inner Loops"
DESCRIPTION="Liboil is now in maintenence-only mode. No new features will \
be added, and bugs will be fixed according to their severity and \
availablility of patches. \
Users of liboil are recommended to switch to Orc \
(http://code.entropywave.com/projects/orc/). Please contact \
David Schleef <ds@schleef.org> about converting liboil functions \
to Orc code -- in many cases this work has already been done."
HOMEPAGE="https://liboil.freedesktop.org/wiki/"
COPYRIGHT="2002-2005 David A. Schleef, All rights reserved."
LICENSE="BSD (2-clause)"
REVISION="2"
SOURCE_URI="https://liboil.freedesktop.org/download/liboil-$portVersion.tar.gz"
CHECKSUM_SHA256="105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69"
PATCHES="liboil-$portVersion.patchset"
ARCHITECTURES="?all x86_gcc2"
PROVIDES="
liboil = $portVersion
cmd:oil_bugreport
lib:liboil_0.3 = 0.3.0 compat >= 0
"
REQUIRES="
haiku
lib:libglib_2.0
"
PROVIDES_devel="
liboil = $portVersion
devel:liboil_0.3 = 0.3.0 compat >= 0
"
REQUIRES_devel="
liboil == $portVersion base
"
BUILD_REQUIRES="
haiku_devel
devel:libglib_2.0
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:awk
cmd:gcc
cmd:libtoolize
cmd:make
cmd:pkg_config
"
BUILD()
{
autoreconf -vfi
runConfigure ./configure
make
}
INSTALL()
{
make install
rm -f $libDir/liboil*.la
prepareInstalledDevelLib liboil-0.3
fixPkgconfig
packageEntries devel $developDir
}
TEST()
{
make check
}