diff --git a/recipes/double-conversion b/recipes/double-conversion new file mode 100644 index 00000000..c81af2d3 --- /dev/null +++ b/recipes/double-conversion @@ -0,0 +1,27 @@ +name=double-conversion +revision=1 +from_source=double-conversion +imagedeps="build-essential cmake" +hostdeps="xgcc xbinutils pkgconfig libtool libstdc++-v3" +deps="base" + +configure() { + cmake \ + -DPKG_CONFIG_EXECUTABLE="/usr/local/bin/x86_64-astral-pkg-config" \ + -DCMAKE_TOOLCHAIN_FILE=${base_dir}/util/cmake \ + -DCMAKE_INSTALL_PREFIX=${prefix} \ + -DCMAKE_BUILD_TYPE=Release \ + -DENABLE_STATIC=FALSE \ + -DBUILD_SHARED_LIBS=ON \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_POLICY_VERSION_MINIMUM=3.5 \ + ${source_dir} +} + +build() { + make -j${parallelism} +} + +package() { + DESTDIR=${dest_dir} make install +} diff --git a/source-recipes/double-conversion b/source-recipes/double-conversion new file mode 100644 index 00000000..e1e4639f --- /dev/null +++ b/source-recipes/double-conversion @@ -0,0 +1,5 @@ +name=double-conversion +version=3.3.1 +source_method=tarball +tarball_url=https://github.com/google/double-conversion/archive/v${version}/double-conversion-${version}.tar.gz +tarball_sha512=60cab2fe623204cfa8737150e6ffcae091266180461dba377231e4fe8dccf712e74c643cd317b62266240ab82f1c0f820cf825038d627934d2dd0af1426f0cca