OSSP CVS Repository

ossp - Check-in [5174]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5174
Date: 2005-Sep-07 15:01:23 (local)
2005-Sep-07 13:01:23 (UTC)
User:rse
Branch:
Comment: Add pkg-config(1) specification file sa.pc
Tickets:
Inspections:
Files:
ossp-pkg/sa/.cvsignore      1.6 -> 1.7     1 inserted, 0 deleted
ossp-pkg/sa/ChangeLog      1.48 -> 1.49     3 inserted, 0 deleted
ossp-pkg/sa/Makefile.in      1.17 -> 1.18     5 inserted, 2 deleted
ossp-pkg/sa/configure.ac      1.17 -> 1.18     3 inserted, 1 deleted
ossp-pkg/sa/sa.pc.in      added-> 1.1

ossp-pkg/sa/.cvsignore 1.6 -> 1.7

--- .cvsignore   2003/02/06 13:53:47     1.6
+++ .cvsignore   2005/09/07 13:01:23     1.7
@@ -9,6 +9,7 @@
 sa-config
 sa.3
 sa.h
+sa.pc
 sa_test
 shtool
 autom4te.cache


ossp-pkg/sa/ChangeLog 1.48 -> 1.49

--- ChangeLog    2005/09/07 12:58:56     1.48
+++ ChangeLog    2005/09/07 13:01:23     1.49
@@ -12,6 +12,9 @@
   For a more brief summary please have a look at the NEWS file.
 
   Changes between 1.2.4 and 1.2.5 (29-Jan-2005 to xx-xxx-2005)
+
+   o Added pkg-config(1) specification sa.pc
+     [Ralf S. Engelschall <rse@engelschall.com>]
    
    o Upgrade build environment to GNU libtool 1.5.20 and
      GNU shtool 2.0.2


ossp-pkg/sa/Makefile.in 1.17 -> 1.18

--- Makefile.in  2005/01/24 15:10:09     1.17
+++ Makefile.in  2005/09/07 13:01:23     1.18
@@ -91,9 +91,10 @@
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix)
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir)
-        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)/pkgconfig
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man3
         $(SHTOOL) install -c -m 755 sa-config $(DESTDIR)$(bindir)/
+        $(SHTOOL) install -c -m 644 sa.pc $(DESTDIR)$(libdir)/pkgconfig/
         $(SHTOOL) install -c -m 644 sa.h $(DESTDIR)$(includedir)/
         $(SHTOOL) install -c -m 644 sa.3 $(DESTDIR)$(mandir)/man3/
         @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libsa.la $(DESTDIR)$(libdir)/
@@ -102,9 +103,11 @@
         @$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libsa.la
         -$(RM) $(DESTDIR)$(mandir)/man3/sa.3
         -$(RM) $(DESTDIR)$(includedir)/sa.h
+        -$(RM) $(DESTDIR)$(libdir)/pkgconfig/sa.pc
         -$(RM) $(DESTDIR)$(bindir)/sa-config
         -$(RMDIR) $(DESTDIR)$(mandir)/man3 >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(mandir) >/dev/null 2>&1 || $(TRUE)
+        -$(RMDIR) $(DESTDIR)$(libdir)/pkgconfig >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(libdir) >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(includedir) >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE)
@@ -118,7 +121,7 @@
 
 distclean: clean
         -$(RM) config.log config.status config.cache
-        -$(RM) Makefile config.h sa-config
+        -$(RM) Makefile config.h sa-config sa.pc
         -$(RM) libtool
 
 realclean: distclean


ossp-pkg/sa/configure.ac 1.17 -> 1.18

--- configure.ac 2005/01/24 15:10:09     1.17
+++ configure.ac 2005/09/07 13:01:23     1.18
@@ -31,8 +31,10 @@
 AC_PREREQ(2.53)
 AC_INIT
 SA_VERSION_STR=`./shtool version -l txt -d long VERSION`
+SA_VERSION_RAW=`./shtool version -l txt -d short VERSION`
 ./shtool echo -e "Configuring %BOSSP sa%b (Socket Abstraction), version %B${SA_VERSION_STR}%b"
 AC_SUBST(SA_VERSION_STR)
+AC_SUBST(SA_VERSION_RAW)
 
 AC_PROG_MAKE_SET
 AC_PROG_CC
@@ -48,7 +50,7 @@
                 [AC_DEFINE(WITH_EX, 1, [Define to 1 if building with OSSP ex])])
 
 AC_CONFIG_HEADERS(config.h)
-AC_CONFIG_FILES([Makefile sa-config])
+AC_CONFIG_FILES([Makefile sa-config sa.pc])
 AC_CONFIG_COMMANDS([adjustment], [chmod a+x sa-config])
 AC_OUTPUT
 


ossp-pkg/sa/sa.pc.in -> 1.1

*** /dev/null    Sat Nov 23 01:12:55 2024
--- -    Sat Nov 23 01:13:01 2024
***************
*** 0 ****
--- 1,43 ----
+ ##
+ ##  OSSP sa - Socket Abstraction
+ ##  Copyright (c) 2001-2005 Ralf S. Engelschall <rse@engelschall.com>
+ ##  Copyright (c) 2001-2005 The OSSP Project <http://www.ossp.org/>
+ ##  Copyright (c) 2001-2005 Cable & Wireless <http://www.cw.com/>
+ ##
+ ##  This file is part of OSSP sa, a socket abstraction library which
+ ##  can be found at http://www.ossp.org/pkg/lib/sa/.
+ ##
+ ##  Permission to use, copy, modify, and distribute this software for
+ ##  any purpose with or without fee is hereby granted, provided that
+ ##  the above copyright notice and this permission notice appear in all
+ ##  copies.
+ ##
+ ##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ ##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ ##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ ##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+ ##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ ##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ ##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ ##  SUCH DAMAGE.
+ ##
+ ##  sa.pc.in: pkg-config(1) specification
+ ##
+ 
+ prefix=@prefix@
+ exec_prefix=${prefix}
+ includedir=${prefix}/include
+ libdir=${exec_prefix}/lib
+ 
+ Name: OSSP sa
+ Description: Socket Abstraction Library
+ Version: @SA_VERSION_RAW@
+ URL: http://www.ossp.org/pkg/lib/sa/
+ Cflags: -I${includedir}
+ Libs: -L${libdir} -lsa
+ Libs.private: @LIBS@
+ 

CVSTrac 2.0.1