mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 00:30:06 +02:00
sparsehash: added recipe for version 2.0.2
This commit is contained in:
52
dev-cpp/sparsehash/sparsehash-2.0.2.recipe
Normal file
52
dev-cpp/sparsehash/sparsehash-2.0.2.recipe
Normal file
@@ -0,0 +1,52 @@
|
||||
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="http://code.google.com/p/sparsehash"
|
||||
SRC_URI="https://sparsehash.googlecode.com/files/sparsehash-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="2ed639a7155607c097c2029af5f4287296595080b2e5dd2e2ebd9bbb7450b87c"
|
||||
REVISION="1"
|
||||
LICENSE="BSD (2-clause)"
|
||||
COPYRIGHT="2008 Jesse Beder"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
sparsehash$secondaryArchSuffix = $portVersion compat >= 0.5
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user