[cod-tools] 111/142: branches/single-source-build/ Including directives to build codcif.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:23 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 e05c9371c2a53aa23fc324af7ea2f2ccc62a9463
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Sun May 21 17:42:48 2017 +0000

    branches/single-source-build/
    Including directives to build codcif.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/branches/single-source-build@111 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 debian/control | 9 +++++++++
 debian/rules   | 3 +++
 2 files changed, 12 insertions(+)

diff --git a/debian/control b/debian/control
index a2b6374..5f8ebeb 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,15 @@ Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: Command line argument processing library for C
  <insert long description, indented with spaces>
 
+Package: codcif
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: error-fixing CIF 1.1 parser
+ Parser for Crystallographic Information Format (CIF), written in C
+ 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-cif-parser-yapp-perl
 Section: perl
 Architecture: all
diff --git a/debian/rules b/debian/rules
index 5900df7..6b51d4c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,7 @@ override_dh_auto_build:
 		--directory src/externals/cexceptions
 	${MAKE} PACKAGE=getoptions EXTRA_LIB_DIRS=../cexceptions/lib \
 		--directory src/externals/getoptions
+	${MAKE} --directory src/components/codcif
 	${MAKE} --directory src/lib/perl5/COD/CIF/Parser/Yapp
 
 override_dh_auto_test:
@@ -32,6 +33,8 @@ override_dh_auto_install:
 	${MAKE} install PREFIX=../../../debian/libgetoptions0/usr \
 		PACKAGE=getoptions EXTRA_LIB_DIRS=lib \
 		--directory src/externals/getoptions
+	${MAKE} install PREFIX=../../../debian/codcif/usr \
+		--directory src/components/codcif
 	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/

-- 
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