mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
75 lines
1.5 KiB
Bash
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
|
|
}
|