mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 05:40:07 +02:00
53 lines
1.1 KiB
Bash
53 lines
1.1 KiB
Bash
SUMMARY="A YAML parser and emitter in C++"
|
|
DESCRIPTION="yaml-cpp is a YAML parser and emitter in C++ matching the YAML \
|
|
1.2 spec."
|
|
HOMEPAGE="https://github.com/sparsehash/sparsehash/"
|
|
COPYRIGHT="2008 Jesse Beder"
|
|
LICENSE="BSD (2-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/sparsehash/sparsehash/archive/sparsehash-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="05e986a5c7327796dad742182b2d10805a8d4f511ad090da0490f146c1ff7a8c"
|
|
SOURCE_DIR="sparsehash-sparsehash-$portVersion"
|
|
PATCHES="sparsehash-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
sparsehash$secondaryArchSuffix = $portVersion compat >= 2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
mkdir -p $docDir
|
|
fixPkgconfig
|
|
|
|
mv $prefix/share/doc/sparsehash*/* $docDir
|
|
rm -rf $prefix/share
|
|
}
|