--- cnf-4.0.orig/Makefile +++ cnf-4.0/Makefile @@ -13,7 +13,7 @@ rm -rf cnf mkdir cnf tar -C cnf -zxf cnf.tar.Z - $(MAKE) -C cnf build TAR_IN='tar -cvhf' TAR_OUT='tar -xf' CC=$(CC) FC=$(FC) + $(MAKE) -C cnf build TAR_IN='tar -cvhf' TAR_OUT='tar -xf' CC=$(CC) FC=$(FC) CFLAGS+=-fPIC touch build-stamp install-stamp: build-stamp --- cnf-4.0.orig/debian/compat +++ cnf-4.0/debian/compat @@ -0,0 +1 @@ +4 --- cnf-4.0.orig/debian/dirs +++ cnf-4.0/debian/dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- cnf-4.0.orig/debian/changelog +++ cnf-4.0/debian/changelog @@ -0,0 +1,12 @@ +cnf (4.0-2) unstable; urgency=medium + + * Build with -fPIC to allow linking in shared libraries. + + -- Enrico Zini Wed, 20 Dec 2006 15:22:49 +0800 + +cnf (4.0-1) unstable; urgency=low + + * Initial Release. Closes: bug#389773. + + -- Enrico Zini Sat, 30 Sep 2006 09:40:23 +0200 + --- cnf-4.0.orig/debian/docs +++ cnf-4.0/debian/docs @@ -0,0 +1 @@ +README --- cnf-4.0.orig/debian/rules +++ cnf-4.0/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk + +DEB_MAKE_INSTALL_TARGET=install prefix=$(DEB_DESTDIR)/usr docdir=$(DEB_DESTDIR)/usr/share/doc/libcnf-dev + +# Store build information +common-binary-post-install-arch common-binary-post-install-indep:: + dh_buildinfo --- cnf-4.0.orig/debian/control +++ cnf-4.0/debian/control @@ -0,0 +1,16 @@ +Source: cnf +Priority: optional +Section: libdevel +Maintainer: Enrico Zini +Build-Depends: cdbs, debhelper (>> 4.1), dh-buildinfo +Standards-Version: 3.7.2.0 + +Package: libcnf-dev +Section: libdevel +Architecture: any +Description: library for C and Fortran mixed programming + The CNF package comprises two sets of software which ease the task of writing + portable programs in a mixture of FORTRAN and C. F77 is a set of C macros for + handling the FORTRAN/C subroutine linkage in a portable way, and CNF is a set + of functions to handle the difference between FORTRAN and C character strings, + logical values and pointers to dynamically allocated memory. --- cnf-4.0.orig/debian/copyright +++ cnf-4.0/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by Enrico Zini on +Wed Sep 27 16:30:00 CEST 2006. + +The package was downloaded from http://www.starlink.ac.uk/cgi-store/ftpform1?cnf + +Upstream Author: Various from Council for the Central Laboratory of the + Research Councils ("CCLRC") and stated at the beginning of + every source file. + +Copyright (C) 1980-2003, Council for the Central Laboratory of the Research + Councils ("CCLRC"), except where noted internally + +License: + +This software is distributed under the GNU General Public License version 2, +which can be found at /usr/share/common-licenses/GPL-2. + + +The Starlink terms and conditions page can be found at +http://www.starlink.rl.ac.uk/store/conditions.html