mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
70 lines
1.4 KiB
Bash
70 lines
1.4 KiB
Bash
SUMMARY="A regular expression library"
|
|
DESCRIPTION="Oniguruma is a regular expressions library. \
|
|
The characteristics of this library is that different character encoding \
|
|
for every regular expression object can be specified."
|
|
HOMEPAGE="https://github.com/kkos/oniguruma"
|
|
COPYRIGHT="2016 K.Kosako"
|
|
LICENSE="BSD (2-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/kkos/oniguruma/archive/v6.2.0.tar.gz"
|
|
CHECKSUM_SHA256="b896e24f9efa2d4250299931561dbdb9f13557869fe6cf0fdf670bf2fc6ffbaa"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
oniguruma$secondaryArchSuffix = $portVersion
|
|
lib:libonig$secondaryArchSuffix = 4.0.0 compat >= 4
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
oniguruma${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:onig_config$secondaryArchSuffix = $portVersion
|
|
devel:libonig$secondaryArchSuffix = 4.0.0 compat >= 4
|
|
"
|
|
REQUIRES_devel="
|
|
oniguruma$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
touch NEWS ChangeLog
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libonig.la
|
|
|
|
prepareInstalledDevelLib libonig
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$binDir/onig-config
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|