[caffe] 212/249: d/rules: fix binary Dependency
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Tue Mar 8 14:51:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
cdluminate-guest pushed a commit to branch debian/experimental
in repository caffe.
commit 10e4abf0387f7fc95915af94a60d3f13f74145c1
Author: Zhou Mo <cdluminate at gmail.com>
Date: Thu Sep 3 12:43:47 2015 +0000
d/rules: fix binary Dependency
---
debian/rules | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/debian/rules b/debian/rules
index 5c247a4..41ec83e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -104,6 +104,24 @@ ifeq (y, $(flag_build_caffe_cuda))
-- install
endif
+override_dh_shlibdeps:
+ dh_shlibdeps \
+ --package=caffe-cpu \
+ --package=libcaffe-cpu0 \
+ --package=libcaffe-cpu-dev \
+ --package=python-caffe-cpu \
+ -- \
+ -xlibcaffe-cuda0
+ifeq (y, $(flag_build_caffe_cuda))
+ dh_shlibdeps \
+ --package=caffe-cuda \
+ --package=libcaffe-cuda0 \
+ --package=libcaffe-cuda-dev \
+ --package=python-caffe-cuda \
+ -- \
+ -xlibcaffe-cpu0
+endif
+
get-orig-source:
wget -c $(ORIG_SOURCE) -O caffe-git$(shell date +%y%m%d).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe.git
More information about the debian-science-commits
mailing list