From a66206efa33aa0fe3a9798c7867bad0a13a0b42e Mon Sep 17 00:00:00 2001 From: ulises-jeremias Date: Sun, 13 Jan 2019 21:29:01 -0300 Subject: [PATCH] Added package --- install.sh | 14 ++++++++++++++ package.json | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100755 install.sh create mode 100644 package.json diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..fa2e953 --- /dev/null +++ b/install.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +pushd `pwd` + +rm -rf build +mkdir build +cd build + +cmake -G "Unix Makefiles" .. -DCML_BUILD_STATIC=ON -DCML_BUILD_SHARED=ON && \ + make && \ + ctest && \ + sudo make install + +popd diff --git a/package.json b/package.json new file mode 100644 index 0000000..329518b --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "cmathl", + "version": "1.10.4", + "repo": "ScientificC/cmathl", + "description": "A pure-C math library with a great variety of mathematical functions. Seeks to be close to C89/C90 compliant for portability.", + "keywords": [], + "license": "MIT", + "install": "./install.sh", + "development": { + "ScientificC/errno": "1.0.0" + } +} \ No newline at end of file