boost.cxx 0.0.1 → 1.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/package.json +1 -1
- package/build.sh +0 -44
package/README.md
CHANGED
|
@@ -15,3 +15,10 @@ And then include `boost.cxx` as follows:
|
|
|
15
15
|
```c
|
|
16
16
|
#include "node_modules/boost.cxx/boost/thread.hpp"
|
|
17
17
|
```
|
|
18
|
+
|
|
19
|
+
<br>
|
|
20
|
+
<br>
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
[](https://nodef.github.io)
|
|
24
|
+

|
package/package.json
CHANGED
package/build.sh
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
URL="https://github.com/boostorg/boost/releases/download/boost-1.90.0.beta1/boost-1.90.0.beta1-cmake.zip"
|
|
3
|
-
ZIP="${URL##*/}"
|
|
4
|
-
DIR="${ZIP%-cmake.zip}"
|
|
5
|
-
mkdir -p .build
|
|
6
|
-
cd .build
|
|
7
|
-
|
|
8
|
-
# Download the boost release
|
|
9
|
-
if [ ! -f "$ZIP" ]; then
|
|
10
|
-
echo "Downloading $ZIP from $URL ..."
|
|
11
|
-
curl -L "$URL" -o "$ZIP"
|
|
12
|
-
echo ""
|
|
13
|
-
fi
|
|
14
|
-
|
|
15
|
-
# Unzip the boost release
|
|
16
|
-
if [ ! -d "$DIR" ]; then
|
|
17
|
-
echo "Unzipping $ZIP to .build/$DIR ..."
|
|
18
|
-
cp "$ZIP" "$ZIP.bak"
|
|
19
|
-
unzip -q "$ZIP"
|
|
20
|
-
rm "$ZIP"
|
|
21
|
-
mv "$ZIP.bak" "$ZIP"
|
|
22
|
-
echo ""
|
|
23
|
-
fi
|
|
24
|
-
|
|
25
|
-
# Ensure all libs are added to gitignore
|
|
26
|
-
# echo "Updating .gitignore ..."
|
|
27
|
-
# for libdir in "$DIR"/libs/*; do
|
|
28
|
-
# if [ ! -d "$libdir" ]; then continue; fi
|
|
29
|
-
# for pth in "$libdir/include/boost"/*; do
|
|
30
|
-
# entry="${pth##*/}"
|
|
31
|
-
# if [ -d "$pth" ]; then entry="$entry/"; fi
|
|
32
|
-
# if grep -q "$entry" ../.gitignore; then continue; fi
|
|
33
|
-
# echo "$entry" >> ../.gitignore
|
|
34
|
-
# done
|
|
35
|
-
# done
|
|
36
|
-
|
|
37
|
-
# Copy the libs to the package directory
|
|
38
|
-
mkdir -p ../boost
|
|
39
|
-
for libdir in "$DIR"/libs/*; do
|
|
40
|
-
lib="${libdir##*/}"
|
|
41
|
-
if [ ! -d "$libdir" ]; then continue; fi
|
|
42
|
-
echo "Copying $lib to $lib/ ..."
|
|
43
|
-
cp -rf "$libdir/include/boost"/* ../boost/
|
|
44
|
-
done
|