Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics
In directory vz-cvs-3.sog:/tmp/cvs-serv16160

Added Files:
        compface.info compface.patch 
Log Message:
compface to 10.7

--- NEW FILE: compface.info ---
Package: compface
Version: 1.5.2
Revision: 1
Source: http://ftp.xemacs.org/pub/xemacs/aux/%n-%v.tar.gz
Source-MD5: 62f4f79c0861ad292ba3cf77b4c48319
PatchFile: %n.patch
PatchFile-MD5: 1c039345d0311609d60f052d907bcab9
BuildDepends: fink (>= 0.24.12-1)
Depends: %N-shlibs (= %v-%r)
ConfigureParams: --mandir='${prefix}/share/man'
SetCFLAGS: -Os -fno-common
Description: 48x48x1 image compression and decompression
InstallScript: <<
        make install prefix=%i
        install -m0755 xbm2xface.pl %i/bin
<<
SplitOff: <<
  Package: %N-shlibs
  Replaces: %N (<= 1.4-1)
  Files: lib/libcompface.*.dylib
  Shlibs: %p/lib/libcompface.0.dylib 0.1.4 %n (>= 1.4-2)
  DocFiles: ChangeLog README
<<
SplitOff2: <<
  Package: %N-dev
  BuildDependsOnly: True
  Depends: %N-shlibs (= %v-%r)
  Files: include lib share/man/man3
  DocFiles: ChangeLog README
<<
DocFiles: ChangeLog README
License: BSD
Maintainer: None <fink-de...@lists.sourceforge.net>
DescPackaging: <<
 Originally packaged by Masanori Sekino.
 Patch Makefile.in to create shared library too, not just static.
 Install it manually rather than patching the "install" target.

 dmacks--overhauled to link binary against dylib, pull all install
 handling into makefile; install new utility script manually.
<<
Homepage: http://freshmeat.net/projects/compface/

--- NEW FILE: compface.patch ---
diff -Nurd -x'*~' compface-1.5.2.orig/Makefile.in compface-1.5.2/Makefile.in
--- compface-1.5.2.orig/Makefile.in     2005-10-04 08:59:49.000000000 -0400
+++ compface-1.5.2/Makefile.in  2008-06-09 15:09:50.000000000 -0400
@@ -17,6 +17,7 @@
 SHELL           = /bin/sh
 
 NAME           = compface
+VERSION                = 1.4
 UNNAME         = uncompface
 EXEEXT         = @EXEEXT@
 NAMEEXE                = $(NAME)$(EXEEXT)
@@ -25,6 +26,8 @@
 UNEXECUTABLE   = $(BINDIR)/$(UNNAMEEXE)
 LIBNAME                = lib$(NAME).a
 LIBRARY                = $(LIBDIR)/$(LIBNAME)
+DYLIBNAME      = lib$(NAME).0.dylib
+DYLIBLDNAME    = lib$(NAME).dylib
 MAN1DIR                = $(MANDIR)/man1
 MAN3DIR                = $(MANDIR)/man3
 OBJECTS                = arith.o file.o compress.o gen.o uncompface.o
@@ -43,18 +46,21 @@
 LDFLAGS                = @LDFLAGS@
 LIBS           = @LIBS@
 
-all:           $(NAMEEXE) $(UNNAMEEXE)
+all:           $(NAMEEXE) $(UNNAMEEXE) $(LIBNAME) $(DYLIBNAME)
 
-$(NAMEEXE) :   cmain.o compface.o $(LIBNAME)
-               $(CC) $(LDFLAGS) -o $@ cmain.o compface.o $(LIBNAME)
+$(NAMEEXE) :   cmain.o compface.o $(DYLIBNAME)
+               $(CC) $(LDFLAGS) -o $@ cmain.o compface.o $(DYLIBNAME)
 
 $(UNNAMEEXE) : uncmain.o $(LIBNAME)
-               $(CC) $(LDFLAGS) -o $@ uncmain.o $(LIBNAME)
+               $(CC) $(LDFLAGS) -o $@ uncmain.o $(DYLIBNAME)
 
 $(LIBNAME) :   $(OBJECTS)
                ar rc $(LIBNAME) $(OBJECTS)
                -$(RANLIB) $(LIBNAME)
 
+$(DYLIBNAME) : $(OBJECTS)
+               $(CC) -dynamiclib $(CFLAGS) $(LDFLAGS) -install_name 
$(LIBDIR)/$(DYLIBNAME) -current_version 0.$(VERSION) -compatibility_version 
0.$(VERSION) -o $(DYLIBNAME) $(OBJECTS)
+
 lint :
                lint -abchx $(SOURCES)
 
@@ -87,6 +93,8 @@
                cd $(MAN3DIR) && $(RM) ./$(UNNAME).3 && $(LN_S) $(NAME).3 
$(UNNAME).3
                for hdr in $(INSTALLHEADERS); do $(INSTALL_DATA) 
$(srcdir)/$${hdr} $(INCLUDEDIR)/$${hdr}; done
                $(INSTALL_DATA) $(srcdir)/$(LIBNAME) $(LIBRARY)
+               $(INSTALL_DATA) $(srcdir)/$(DYLIBNAME) $(LIBDIR)
+               $(LN_S) $(DYLIBNAME) $(LIBDIR)/$(DYLIBLDNAME)
 
 shar :
                shar.script $(OTHERS) $(HDRS) $(SOURCES) > $(NAME).sh


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to