[glom] xdg-app-builder: Try to add boost python.



commit 4d4123242170a4ae3ade7f4d41bd41f771264598
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Dec 11 13:40:00 2015 +0100

    xdg-app-builder: Try to add boost python.

 glom-xdg-app-builder/boost_python_Makefile  |    7 +++++++
 glom-xdg-app-builder/boost_python_configure |    4 ++++
 glom-xdg-app-builder/manifest.json          |   22 ++++++++++++++++++++++
 3 files changed, 33 insertions(+), 0 deletions(-)
---
diff --git a/glom-xdg-app-builder/boost_python_Makefile b/glom-xdg-app-builder/boost_python_Makefile
new file mode 100644
index 0000000..355d14d
--- /dev/null
+++ b/glom-xdg-app-builder/boost_python_Makefile
@@ -0,0 +1,7 @@
+all:
+       ./b2
+
+install:
+       ./b2 install
+
+
diff --git a/glom-xdg-app-builder/boost_python_configure b/glom-xdg-app-builder/boost_python_configure
new file mode 100755
index 0000000..b3be5da
--- /dev/null
+++ b/glom-xdg-app-builder/boost_python_configure
@@ -0,0 +1,4 @@
+#! /bin/sh -e
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+"$srcdir/bootstrap.sh" "$@"
diff --git a/glom-xdg-app-builder/manifest.json b/glom-xdg-app-builder/manifest.json
index ace203d..8fb2342 100644
--- a/glom-xdg-app-builder/manifest.json
+++ b/glom-xdg-app-builder/manifest.json
@@ -247,6 +247,28 @@
             ]
         },
         {
+            "name": "boost-python",
+            "config-opts": [ "--with-libraries=python" ],
+            "build-options" : { "cxxflags": "-O2 -g -std=c++11" },
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": 
"http://downloads.sourceforge.net/project/boost/boost/1.59.0/boost_1_59_0.tar.gz?r=http%3A%2F%2Fwww.boost.org%2Fusers%2Fhistory%2Fversion_1_59_0.html&ts=1449780852&use_mirror=netix";,
+                    "sha256": "47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac"
+                }
+                {
+                    "type": "file",
+                    "path": "boost_python_configure",
+                    "dest-filename": "configure"
+                }
+                                {
+                    "type": "file",
+                    "path": "boost_python_Makefile",
+                    "dest-filename": "Makefile"
+                }
+            ]
+        },
+        {
             "name": "glom",
             "build-options" : { "cxxflags": "-O2 -g -std=c++11",
                 "env": {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]