From cae1a2623c6e92b5a5281b25cfe84eebb02a952a Mon Sep 17 00:00:00 2001 From: Steven Emmerson Date: Tue, 12 Dec 2023 12:08:03 -0700 Subject: [PATCH] Added udunits.pc --- CMakeLists.txt | 2 +- configure.ac | 3 ++- udunits.pc.in | 11 +++++++++++ version.texi | 8 ++++---- 4 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 udunits.pc.in diff --git a/CMakeLists.txt b/CMakeLists.txt index f23bf32..ff89d48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.19) -PROJECT(udunits VERSION 2.3.0.0 +PROJECT(udunits VERSION 2.3.0.1 DESCRIPTION "C library and utility for units of physical quantities") set(CMAKE_PROJECT_HOMEPAGE_URL https://www.unidata.ucar.edu/software/udunits) diff --git a/configure.ac b/configure.ac index 1993bd1..a2f1385 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT([UDUNITS], [2.3.0.0], [support-udunits@unidata.ucar.edu]) +AC_INIT([UDUNITS], [2.3.0.1], [support-udunits@unidata.ucar.edu]) AC_CONFIG_SRCDIR([lib/converter.c]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) @@ -143,6 +143,7 @@ AC_CHECK_FUNCS([floor memmove memset modf pow strcasecmp strdup strpbrk]) AC_PROG_LIBTOOL AC_CONFIG_FILES([Makefile + udunits.pc lib/Makefile lib/xmlFailures/Makefile lib/xmlSuccesses/Makefile diff --git a/udunits.pc.in b/udunits.pc.in new file mode 100644 index 0000000..f438a12 --- /dev/null +++ b/udunits.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=${prefix} +libdir=@libdir@ + +Name: udunits +Description: Library for handling of units of physical quantities +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -ludunits2 +Libs.private: -L${libdir} -ludunits2 -lexpat +CFlags: -I${prefix}/include + diff --git a/version.texi b/version.texi index 43e1bab..8e457ae 100644 --- a/version.texi +++ b/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 3 September 2021 -@set UPDATED-MONTH September 2021 -@set EDITION 2.3.0.0 -@set VERSION 2.3.0.0 +@set UPDATED 4 February 2023 +@set UPDATED-MONTH February 2023 +@set EDITION 2.3.0.1 +@set VERSION 2.3.0.1