Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/libs
In directory sc8-pr-cvs1:/tmp/cvs-serv23680

Added Files:
        libgnugetopt-1.2-2.info libgnugetopt-1.2-2.patch 
Removed Files:
        libgnugetopt-1.2-1.info libgnugetopt-1.2-1.patch 
Log Message:
ADded fix from maintainer, to allow -shlibs to install

--- NEW FILE: libgnugetopt-1.2-2.info ---
Package: libgnugetopt
Version: 1.2
Revision: 2
Source: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/%n-%v.tar.bz2
Source-MD5: 356d12620d006a71a307f339803a86a2
Depends: %N-shlibs (= %v-%r)
Replaces: %N (<< %v-%r)
BuildDependsOnly: true
PatchScript: <<
        echo prefix=%p > Makefile
        cat %a/%f.patch >> Makefile
        head -n 25 getopt.c >> LICENSE
<<
CompileScript: make
SplitOff: <<
        Package: %N-shlibs
        Replaces: %N (<< %v-%r)
        Files: lib/%N.%v.0.dylib lib/%N.1.dylib lib/%N.dylib
        Shlibs: %p/lib/%N.1.dylib 1.2.0 %n (>= 1.2-1)
        DocFiles: LICENSE README
<<
DocFiles: LICENSE README
Description: GNU getopt library
DescDetail: <<
GNU getopt library similar but more powerful than the standard getopt(3).
It includes the GNU-style getopt_long() function.
Use with -lgnugetopt for linking and gnugetopt/getopt.h for include.
<<
DescPort: Rewrite Makefile for Darwin-style shared libraries.
License: GPL
Maintainer: Yves de Champlain <[EMAIL PROTECTED]>
Homepage: http://www.FreeBSD.org/cgi/url.cgi?ports/devel/libgnugetopt/pkg-descr

--- NEW FILE: libgnugetopt-1.2-2.patch ---

all: libgnugetopt.a libgnugetopt.dylib

libgnugetopt.a: getopt.o getopt1.o
        ar cr libgnugetopt.a getopt.o getopt1.o
        ranlib libgnugetopt.a

libgnugetopt.dylib: libgnugetopt.1.dylib
        ln -sf libgnugetopt.1.dylib libgnugetopt.dylib

libgnugetopt.1.dylib: libgnugetopt.1.2.0.dylib
        ln -sf libgnugetopt.1.2.0.dylib libgnugetopt.1.dylib
        
libgnugetopt.1.2.0.dylib : getopt.o getopt1.o
        cc -dynamiclib \
        -install_name $(prefix)/lib/libgnugetopt.1.dylib \
        -compatibility_version 1.2.0 -current_version 1.2.0 \
        -o libgnugetopt.1.2.0.dylib getopt.o getopt1.o
        
getopt1.o: getopt1.c
        cc -fno-common -o getopt1.o -c getopt1.c

getopt.o: getopt.c
        cc -fno-common -o getopt.o -c getopt.c

install:
        @install -d -p -m 755 $(prefix)/lib $(prefix)/include/gnugetopt
        install -c -p -m 644 libgnugetopt.a $(prefix)/lib
        install -c -p -m 755 libgnugetopt.1.2.0.dylib $(prefix)/lib
        ranlib $(prefix)/lib/libgnugetopt.a
        install -c -p -m 644 getopt.h $(prefix)/include/gnugetopt
        -@rm -f $(prefix)/lib/libgnugetopt.dylib $(prefix)/lib/libgnugetopt.1.dylib
        (cd $(prefix)/lib; \
         ln -sf libgnugetopt.1.2.0.dylib libgnugetopt.1.dylib; \
         ln -sf libgnugetopt.1.2.0.dylib libgnugetopt.dylib)

--- libgnugetopt-1.2-1.info DELETED ---

--- libgnugetopt-1.2-1.patch DELETED ---



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to