Update of /cvsroot/fink/experimental/dmacks/finkinfo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12667
Modified Files: libftw0.info libftw0.patch Log Message: Move .h into ftw/ subdirectory. Scrap the libtool silliness. Index: libftw0.patch =================================================================== RCS file: /cvsroot/fink/experimental/dmacks/finkinfo/libftw0.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- libftw0.patch 4 Oct 2005 05:48:25 -0000 1.2 +++ libftw0.patch 4 Oct 2005 19:38:22 -0000 1.3 @@ -165,42 +165,3 @@ +__END_DECLS + +#endif /* !_FTW_H */ -diff -Nurd -x'*~' libftw.orig/libftw.la libftw/libftw.la ---- libftw.orig/libftw.la 1969-12-31 19:00:00.000000000 -0500 -+++ libftw/libftw.la 2005-10-04 00:38:53.000000000 -0400 -@@ -0,0 +1,35 @@ -+# libftp.la - a libtool library file -+# Generated by hand -+# -+# Please DO NOT delete this file! -+# It is necessary for linking the library. -+ -+# The name that we can dlopen(3). -+dlname='libftw.0.dylib' -+ -+# Names of this library. -+library_names='libftw.0.1.0.dylib libftw.0.dylib libftw.dylib' -+ -+# The name of the static archive. -+old_library='libftw.a' -+ -+# Libraries that this one depends upon. -+dependency_libs='' -+ -+# Version information for libftw. -+current=0 -+age=0 -+revision=0 -+ -+# Is this an already installed library? -+installed=yes -+ -+# Should we warn about portability when linking against -modules? -+shouldnotlink=no -+ -+# Files to dlopen/dlpreopen -+dlopen='' -+dlpreopen='' -+ -+# Directory that this library needs to be installed in: -+libdir='@PREFIX@/lib' Index: libftw0.info =================================================================== RCS file: /cvsroot/fink/experimental/dmacks/finkinfo/libftw0.info,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- libftw0.info 4 Oct 2005 05:48:25 -0000 1.3 +++ libftw0.info 4 Oct 2005 19:38:22 -0000 1.4 @@ -1,11 +1,11 @@ Package: libftw0 Version: 0.1 -Revision: 3 +Revision: 4 Type: nosource Depends: %n-shlibs (= %v-%r) +Patch: %n.patch PatchScript: << - sed '[EMAIL PROTECTED]@#%p#' < %a/%n.patch | patch -p1 sed -n '4,20p' ftw.c > LICENSE << CompileScript: << @@ -15,8 +15,8 @@ gcc -dynamiclib -install_name %p/lib/libftw.0.dylib -compatibility_version 1 -current_version 1 -o libftw.0.1.0.dylib ftw.o << InstallScript: << - install -d -m 0755 %i/include %i/lib - install -m 0644 ftw.h %i/include + install -d -m 0755 %i/include/ftw %i/lib + install -m 0644 ftw.h %i/include/ftw install -m 0644 libftw* %i/lib ln -s libftw.0.1.0.dylib %i/lib/libftw.0.dylib ln -s libftw.0.dylib %i/lib/libftw.dylib @@ -37,11 +37,14 @@ ftw is not present on OS X until 10.4 (nor on NetBSD), and is reported to be non-functional on 10.4. OS X and NetBSD have fts instead, but its functions are not directly compatible with ftw's. - This package contains the BSD implementation of the ftw() function - but not the nftw() function. + + This package contains BSD ftw() function and associated constants + implemented using the fts_*() functions. The nftw() function is not + implemented. << DescUsage: << - Pass -lftw to your compiler/linker in order to access this library. + Pass -I%p/include/ftw -L%p/lib -lftw to your compiler/linker in + order to access this library. << DescPort: << ftw.[ch] Ripped off of vasi's apt-ftparchive package. That header @@ -49,8 +52,9 @@ just replace the unresolved declaration with a compile-time error if someone uses it. - libftw.la cobbled together manually 'cuz I don't feel like actually - libtoolizing something so trivial. + The header is buried beyond the reach of the default #include search + paths so we don't interfere with compiling that expects to find the + system's own header. << License: BSD Maintainer: Daniel Macks <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits