Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net
In directory vz-cvs-3.sog:/tmp/cvs-serv1805

Added Files:
        libircclient-v1.3-shlibs.info libircclient-v1.3-shlibs.patch 
Log Message:
new package


--- NEW FILE: libircclient-v1.3-shlibs.info ---
Package: libircclient-v1.3-shlibs
Version: 1.3
Revision: 1
Source: mirror:sourceforge:libircclient/libircclient/%v/libircclient-%v.tar.gz
Source-MD5: b0e80d1d6b0c1cc61660fb9d2350b32d
BuildDepends: fink (>= 0.24.12)
PatchFile: %n.patch
PatchFile-MD5: db1ff24ed8069cd79dcc7b933f743a22
InstallScript: <<
        make -C src install DESTDIR=%d
<<
DocFiles: ChangeLog LICENSE README THANKS
Shlibs: %p/lib/libircclient-v1.3.dylib 0.0.0 %n (>= 1.3-1)
SplitOff: <<
        Package: libircclient-v1.3-dev
        Depends: libircclient-v1.3-shlibs (= %v-%r)
        BuildDependsOnly: true
        InstallScript: <<
                mkdir -p %i/share/doc/%n
                cp -r doc/html %i/share/doc/%n
                cp doc/rfc1459.txt %i/share/doc/%n
        <<
        Files: <<
                include
                lib/libircclient.dylib
        <<
        DocFiles: ChangeLog LICENSE README THANKS
<<
DescPackaging: <<
        Hack to build a shared library. Upstream is static-only, so we
        cannot expect that they will maintain compatible interfaces in
        other versions.
<<
Description: Implements client-server IRC protocol
Homepage: http://libircclient.sourceforge.net
License: GPL
Maintainer: Daniel Macks <dma...@netspace.org>

--- NEW FILE: libircclient-v1.3-shlibs.patch ---
diff -Nurd -x'*~' libircclient-1.3.orig/examples/Makefile.in 
libircclient-1.3/examples/Makefile.in
--- libircclient-1.3.orig/examples/Makefile.in  2004-10-10 12:16:15.000000000 
-0400
+++ libircclient-1.3/examples/Makefile.in       2011-09-12 12:14:11.000000000 
-0400
@@ -2,7 +2,7 @@
 CC = @CC@
 CXX = @CXX@
 CFLAGS = -Wall @CFLAGS@
-LIBS = ../src/libircclient.a -lpthread @LIBS@
+LIBS = ../src/libircclient.dylib -lpthread @LIBS@
 INCLUDES=-I../include
 
 EXAMPLES=spammer censor irctest ircftp colors
@@ -34,8 +34,8 @@
 
 .c.o:
        @echo "Compiling  $<"
-       @$(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<
+       $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<
 
 .cpp.o:
        @echo "Compiling  $<"
-       @$(CXX) $(CFLAGS) $(INCLUDES) -c -o $@ $<
+       $(CXX) $(CFLAGS) $(INCLUDES) -c -o $@ $<
diff -Nurd -x'*~' libircclient-1.3.orig/src/Makefile.in 
libircclient-1.3/src/Makefile.in
--- libircclient-1.3.orig/src/Makefile.in       2005-03-09 16:11:53.000000000 
-0500
+++ libircclient-1.3/src/Makefile.in    2011-09-12 12:26:47.000000000 -0400
@@ -7,18 +7,20 @@
 
 
 OBJS = libircclient.o
+SONAME = libircclient-v1.3.dylib
 
 all:   lib
 
-lib:   libircclient.a
+lib:   libircclient-v1.3.dylib
 
 install: lib
-       -mkdir @prefix@/include
-       -mkdir @prefix@/lib
-       cp ../include/libircclient.h @prefix@/include/libircclient.h
-       cp ../include/libirc_errors.h @prefix@/include/libirc_errors.h
-       cp ../include/libirc_events.h  @prefix@/include/libirc_events.h 
-       cp libirc.a @prefix@/include/lib/libirc.a
+       -mkdir $(DESTDIR)@prefix@/include
+       -mkdir $(DESTDIR)@prefix@/lib
+       cp ../include/libircclient.h $(DESTDIR)@prefix@/include/libircclient.h
+       cp ../include/libirc_errors.h $(DESTDIR)@prefix@/include/libirc_errors.h
+       cp ../include/libirc_events.h  
$(DESTDIR)@prefix@/include/libirc_events.h 
+       cp $(SONAME) $(DESTDIR)@prefix@/lib/$(SONAME)
+       ln -s $(SONAME) $(DESTDIR)@prefix@/lib/libircclient.dylib
 
 $(OBJS): utils.c dcc.c errors.c portable.c sockets.c colors.c
 
@@ -26,12 +28,16 @@
        $(AR) libircclient.a $(OBJS)
        $(RANLIB) libircclient.a
 
+$(SONAME): $(OBJS)
+       gcc -dynamiclib -o $@ -install_name @prefix@/lib/$(SONAME) $<
+       ln -s $(SONAME) libircclient.dylib
+
 clean:
-       rm -f libircclient.a $(OBJS)
+       rm -f libircclient.a $(SONAME) libircclient.dylib $(OBJS)
 
 distclean: clean
        -rm -f Makefile
 
 .c.o:
        @echo "Compiling  $<"
-       @$(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<
+       $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to