diff --git a/dev-libs/msgpack_c_cpp/msgpack_c_cpp-2.0.0.recipe b/dev-libs/msgpack_c_cpp/msgpack_c_cpp-2.1.0.recipe similarity index 68% rename from dev-libs/msgpack_c_cpp/msgpack_c_cpp-2.0.0.recipe rename to dev-libs/msgpack_c_cpp/msgpack_c_cpp-2.1.0.recipe index eda5d39af..1fa56b634 100644 --- a/dev-libs/msgpack_c_cpp/msgpack_c_cpp-2.0.0.recipe +++ b/dev-libs/msgpack_c_cpp/msgpack_c_cpp-2.1.0.recipe @@ -3,16 +3,16 @@ DESCRIPTION="An efficient binary serialization format, which lets you exchange \ data among multiple languages like JSON, except that it's faster and smaller. \ Small integers are encoded into a single byte while typical short strings \ require only one extra byte in addition to the strings themselves." -HOMEPAGE="http://msgpack.org/" -COPYRIGHT="2010-2016 MessagePack Developers" +HOMEPAGE="https://msgpack.org/" +COPYRIGHT="2010-2017 MessagePack Developers" LICENSE="Boost v1.0" REVISION="1" SOURCE_URI="https://github.com/msgpack/msgpack-c/archive/cpp-$portVersion.tar.gz" SOURCE_DIR="msgpack-c-cpp-$portVersion" -CHECKSUM_SHA256="eb20b4bf15f20bad149ec82fffac74f16de2a8a797e321a3f8189d63263a511e" +CHECKSUM_SHA256="32f6ffde10c3369b67a30a9124de1e2244df188e400170c42124c62b0a06e99e" -ARCHITECTURES="x86_gcc2 x86 ?x86_64" -SECONDARY_ARCHITECTURES="x86" +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" msgpack_c_cpp$secondaryArchSuffix = $portVersion @@ -28,13 +28,17 @@ PROVIDES_devel=" devel:libmsgpackc$secondaryArchSuffix = $portVersion " REQUIRES_devel=" - msgpack_c_cpp$secondaryArchSuffix == $portVersion - devel:libz${secondaryArchSuffix} + msgpack_c_cpp$secondaryArchSuffix == $portVersion base + devel:libz$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel - devel:libz${secondaryArchSuffix} + devel:libboost_chrono$secondaryArchSuffix + devel:libboost_context$secondaryArchSuffix + devel:libboost_timer$secondaryArchSuffix + devel:libboost_system$secondaryArchSuffix + devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:cmake @@ -54,12 +58,14 @@ PATCH() BUILD() { - export LDFLAGS="-lnetwork -lbsd" - export CFLAGS="-D_BSD_SOURCE" - mkdir -p build && cd build - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$prefix \ + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=$prefix \ + -DCMAKE_INSTALL_LIBDIR=$libDir \ -DCMAKE_SKIP_RPATH=YES \ + -DMSGPACK_BUILD_EXAMPLES=OFF \ + -DMSGPACK_CXX11=OFF \ .. make $jobArgs @@ -73,8 +79,6 @@ INSTALL() cd build make install - mv $libDir/../libmsgpackc.* $libDir - mv $libDir/../pkgconfig $libDir mv $prefix/include/* $includeDir rm -rf $prefix/include