[lua-torch-nn] 05/07: control: add new package libtorch-thnn-dev

Zhou Mo cdluminate-guest at moszumanska.debian.org
Wed Jun 22 07:54:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

cdluminate-guest pushed a commit to branch master
in repository lua-torch-nn.

commit f21f16404c743ecfd7e1452522e219b7f4a19598
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Wed Jun 22 07:53:30 2016 +0000

    control: add new package libtorch-thnn-dev
---
 debian/control                      | 11 +++++++++++
 debian/libtorch-thnn-dev.install.in |  3 +++
 debian/rules                        |  2 ++
 3 files changed, 16 insertions(+)

diff --git a/debian/control b/debian/control
index 58ae2a9..f56ec78 100644
--- a/debian/control
+++ b/debian/control
@@ -67,3 +67,14 @@ Description: libTHNN.so of Neural Network Package for Torch Framework
  simple or complex neural networks using Torch Framework.
  .
  This package contains libTHNN.so , backend library for lua-torch-nn.
+
+Package: libtorch-thnn-dev
+Architecture: any
+Section: libdevel
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}, libtorch-thnn (= ${binary:Version})
+Description: libTHNN.so of Neural Network Package for Torch Framework (dev)
+ This package provides an easy and modular way to build and train
+ simple or complex neural networks using Torch Framework.
+ .
+ This package contains headers for libTHNN.so .
diff --git a/debian/libtorch-thnn-dev.install.in b/debian/libtorch-thnn-dev.install.in
new file mode 100644
index 0000000..7999e10
--- /dev/null
+++ b/debian/libtorch-thnn-dev.install.in
@@ -0,0 +1,3 @@
+usr/lib/libTHNN.so usr/lib/#DEB_HOST_MULTIARCH#/
+lib/THNN/THNN.h usr/include/THNN/
+lib/THNN/generic usr/include/THNN/
diff --git a/debian/rules b/debian/rules
index 602affd..a2c9ba2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,6 +43,8 @@ override_dh_auto_configure:
 		< debian/libtorch-thnn.install.in > debian/libtorch-thnn.install
 	sed -e 's/#DEB_HOST_MULTIARCH#/$(DEB_HOST_MULTIARCH)/g' \
 		< debian/libtorch-thnn.links.in > debian/libtorch-thnn.links
+	sed -e 's/#DEB_HOST_MULTIARCH#/$(DEB_HOST_MULTIARCH)/g' \
+		< debian/libtorch-thnn-dev.install.in > debian/libtorch-thnn-dev.install
 
 override_dh_auto_build:
 	# build libTHNN.so

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-nn.git



More information about the debian-science-commits mailing list