[SCM] CERNLIB is a suite of data analysis tools and libraries created for use in physics experiments, but also with applications to other fields such as the biological sciences branch, debian-patches/2006-dfsg3-0, updated. cda72ebfe00236b43ba813e81921af4f37b14b5c

Bastien ROUCARIÈS roucaries.bastien at gmail.com
Mon Mar 14 21:53:09 UTC 2011


The following commit has been merged in the debian-patches/2006-dfsg3-0 branch:
commit cda72ebfe00236b43ba813e81921af4f37b14b5c
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu Mar 10 19:10:30 2011 +0100

    Add pkgconfig file for libcernminuit
    
    Add pkgconfig file for libcernminuit

diff --git a/Makefile.am b/Makefile.am
index 1ee387a..9de2f0a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,8 @@ ACLOCAL_AMFLAGS=-I m4
 lib_LTLIBRARIES = 
 bin_PROGRAMS =
 
+pkgconfigdir = $(libdir)/pkgconfig
+
 ##########
 # MINUIT #
 ##########
@@ -52,6 +54,9 @@ cernminuit_SOURCES = src/packlib/minuit/examples/fcnk0.F src/packlib/minuit/exam
 cernminuit_FFLAGS = -I src/packlib/minuit $(CERN_FFLAGS)
 cernminuit_LDADD = libcernpackminuit.la
 
+# pkgconfig
+pkgconfig_DATA = pkgconfig/libcernminuit-3.pc
+
 # n part of mathlib
 lib_LTLIBRARIES += libcernmathn.la
 libcernmathn_la_SOURCES = src/mathlib/gen/n/mtlprt.F src/mathlib/gen/n/mtlset.F
diff --git a/configure.ac b/configure.ac
index cffecd1..acecd77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,7 +76,8 @@ esac
 PC_LIBS+=" $FLIBS"
 
 AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile \
+	         pkgconfig/libcernminuit-3.pc])
 
 AC_SUBST(CERN_CFLAGS)
 AC_SUBST(CERN_FFLAGS)

-- 
CERNLIB is a suite of data analysis tools and libraries created for use in physics experiments, but also with applications to other fields such as the biological sciences



More information about the debian-science-commits mailing list