[compute] 01/03: Install examples to doc package.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Dec 2 15:20:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository compute.
commit d6805bf2ca2462875a5b09b338289d7111f6d67d
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Tue Dec 1 20:06:11 2015 +0000
Install examples to doc package.
---
debian/control | 21 +++++++++++++++++++++
debian/libcompute-dev.install | 2 ++
debian/libcompute-doc.install | 1 +
debian/rules | 2 ++
4 files changed, 26 insertions(+)
diff --git a/debian/control b/debian/control
index d2d3017..07febee 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,7 @@ Section: libdevel
Depends: ${misc:Depends},
libboost-dev,
ocl-icd-opencl-dev | opencl-dev
+Suggests: libcompute-doc
Description: cross-platform C++ library for GPU computing
Boost.Compute is a GPU/parallel-computing library for C++ based on OpenCL.
.
@@ -33,3 +34,23 @@ Description: cross-platform C++ library for GPU computing
.
This package provides the development files for the standalone compute
package.
+
+Package: libcompute-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: documentation and examples for Boost.Compute
+ Boost.Compute is a GPU/parallel-computing library for C++ based on OpenCL.
+ .
+ The core library is a thin C++ wrapper over the OpenCL API and provides access
+ to compute devices, contexts, command queues and memory buffers.
+ .
+ On top of the core library is a generic, STL-like interface providing common
+ algorithms (e.g. transform(), accumulate(), sort()) along with common
+ containers (e.g. vector<T>, flat_set<T>). It also features a number of
+ extensions including parallel-computing algorithms (e.g. exclusive_scan(),
+ scatter(), reduce()) and a number of fancy iterators (e.g.
+ transform_iterator<>, permutation_iterator<>, zip_iterator<>).
+ .
+ This package provides the documentation and example source code for the
+ standalone compute package.
diff --git a/debian/libcompute-dev.install b/debian/libcompute-dev.install
new file mode 100644
index 0000000..47f413d
--- /dev/null
+++ b/debian/libcompute-dev.install
@@ -0,0 +1,2 @@
+usr/include
+usr/lib/cmake
diff --git a/debian/libcompute-doc.install b/debian/libcompute-doc.install
new file mode 100644
index 0000000..14a7928
--- /dev/null
+++ b/debian/libcompute-doc.install
@@ -0,0 +1 @@
+example/*.cpp usr/share/doc/libcompute-doc/examples
diff --git a/debian/rules b/debian/rules
index a3e67c8..fd2bdb3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,5 @@ override_dh_auto_configure:
-DBOOST_COMPUTE_BUILD_EXAMPLES=OFF \
-DBOOST_COMPUTE_BUILD_TESTS=OFF
+override_dh_compress:
+ dh_compress --exclude=examples
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/compute.git
More information about the debian-science-commits
mailing list