mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 11:10:07 +02:00
Update jansson to 2.5.
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
DESCRIPTION="C library for encoding, decoding and manipulating JSON data"
|
||||
HOMEPAGE="http://www.digip.org/jansson/"
|
||||
SRC_URI="http://www.digip.org/jansson/releases/jansson-2.4.tar.gz"
|
||||
CHECKSUM_MD5="c4629b89bf0432f3158c461e88fe0113"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd jansson-2.4
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd jansson-2.4
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd jansson-2.4/test
|
||||
run-suites
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2009-2012 Petri Lehtinen
|
||||
2011-2012 Basile Starynkevitch
|
||||
2011-2012 Graeme Smecher"
|
||||
|
||||
65
dev-libs/jansson/jansson-2.5.recipe
Normal file
65
dev-libs/jansson/jansson-2.5.recipe
Normal file
@@ -0,0 +1,65 @@
|
||||
SUMMARY="Jansson is a C library for encoding, decoding and manipulating JSON data."
|
||||
DESCRIPTION="Jansson is a C library for encoding, decoding and manipulating JSON data.
|
||||
It features a simple and intuitive API and data model, comprehensive documentation, no dependencies on other libraries, full unicode support (UTF-8) and an extensive test suite."
|
||||
HOMEPAGE="http://www.digip.org/jansson/"
|
||||
SRC_URI="http://www.digip.org/jansson/releases/jansson-2.5.tar.gz"
|
||||
CHECKSUM_MD5="46ac93bec48aacf207b67b51c8fbf7f1"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2009-2012 Petri Lehtinen
|
||||
2011-2012 Basile Starynkevitch
|
||||
2011-2012 Graeme Smecher"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
lib:libjansson
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
sed -i 's/-Wextra/ /g' Makefile.*
|
||||
sed -i 's/-Wdeclaration-after-statement/ /g' Makefile.*
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# devel package
|
||||
prepareInstalledDevelLibs \
|
||||
libjansson
|
||||
|
||||
fixPkgconfig
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd test
|
||||
run-suites
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
devel:libjansson = 0.0.0 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libjansson == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user