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