[cod-tools] 113/142: branches/single-source-build/ Including directives to build libcod-precision-perl and libcod-usermessage-perl.
Andrius Merkys
merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
merkys-guest pushed a commit to branch master
in repository cod-tools.
commit 92541c5ba73c78f905f3e7944ff1a10263aa2c10
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date: Mon May 22 06:17:20 2017 +0000
branches/single-source-build/
Including directives to build libcod-precision-perl and
libcod-usermessage-perl.
git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/branches/single-source-build@113 26752c47-bcd6-4c9c-b022-347364b77eb5
---
debian/control | 19 +++++++++++++++++++
debian/rules | 8 ++++++++
2 files changed, 27 insertions(+)
diff --git a/debian/control b/debian/control
index 39e5351..1efe4b5 100644
--- a/debian/control
+++ b/debian/control
@@ -30,6 +30,25 @@ Description: error-fixing CIF 1.1 parser
language. A CIF format file is represented by an array of data blocks,
where each data block is represented by a CIF struct.
+Package: libcod-precision-perl
+Section: perl
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends}
+Description: COD precision handling module for Perl language
+ COD::Precision, module for handling precision in Crystallographic
+ Information Format (CIF) notation.
+
+Package: libcod-usermessage-perl
+Section: perl
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends}
+Description: COD message formatting module for Perl language
+ COD::UserMessage, module for formatting error/warning/note messages in
+ a style, defined by Crystallography Open Database.
+ .
+ In short, the format of generated messages is the following:
+ <program name>: <location>: <STATUS>, <message body>.
+
Package: libcod-cif-parser-bison-perl
Section: perl
Architecture: any
diff --git a/debian/rules b/debian/rules
index 7206916..36bcafd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,12 +37,20 @@ override_dh_auto_install:
--directory src/externals/getoptions
${MAKE} install PREFIX=../../../debian/codcif/usr \
--directory src/components/codcif
+
mkdir -p debian/libcod-cif-parser-bison-perl/${vendorlib}/COD/CIF/Parser
mkdir -p debian/libcod-cif-parser-bison-perl/${vendorarch}/auto/COD/CIF/Parser/Bison
install --mode 640 src/lib/perl5/COD/CIF/Parser/Bison/lib/COD/CIF/Parser/Bison.pm \
debian/libcod-cif-parser-bison-perl/${vendorlib}/COD/CIF/Parser/
install --mode 640 src/lib/perl5/COD/CIF/Parser/Bison/lib/auto/COD/CIF/Parser/Bison/Bison.so \
debian/libcod-cif-parser-bison-perl/${vendorarch}/auto/COD/CIF/Parser/Bison/
+
mkdir -p debian/libcod-cif-parser-yapp-perl/${vendorlib}/COD/CIF/Parser
install --mode 640 src/lib/perl5/COD/CIF/Parser/Yapp/lib/COD/CIF/Parser/Yapp.pm \
debian/libcod-cif-parser-yapp-perl/${vendorlib}/COD/CIF/Parser/
+
+ mkdir -p debian/libcod-precision-perl/usr/share/perl5/COD/
+ install src/lib/perl5/COD/Precision.pm debian/libcod-precision-perl/usr/share/perl5/COD/
+
+ mkdir -p debian/libcod-usermessage-perl/usr/share/perl5/COD/
+ install src/lib/perl5/COD/UserMessage.pm debian/libcod-usermessage-perl/usr/share/perl5/COD/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cod-tools.git
More information about the debian-science-commits
mailing list