At Peter's suggestion, I am enclosing the info files for libpng and
libpng-shlibs.  Perhaps studying them will help folks figure out how
this works.  (It certainly took a while for it to sink in, for me!)

There are also patch files, which are identical for the two packages
(and copied from the previous version).

  -- Dave

--- NEW FILE: libpng-1.0.12-4.info ---
Package: libpng
Version: 1.0.12
Revision: 4
Depends: zlib, libpng-shlibs (= 1.0.12-4)
Replaces: libpng (<< 1.0.12-3)
Source: http://prdownloads.sourceforge.net/%n/%n-%v.tar.gz
Patch: %f.patch
PatchScript: ln -s scripts/makefile.darwin Makefile
CompileScript: make prefix=%p ZLIBLIB=%p/lib ZLIBINC=%p/include
InstallScript: <<
make install prefix=%i ZLIBLIB=%p/lib ZLIBINC=%p/include
rm -f %i/lib/libpng.2.%v.dylib
rm -f %i/lib/libpng.2.dylib
<<
DocFiles: LICENSE README ANNOUNCE Y2KINFO KNOWNBUG 
#
Description: PNG image format handling library
DescPort: <<
Doesn't use autoconf. Comes with a big selection of Makefiles
instead. The included Makefile for Mac OS X only builds static
libraries, so we use our own Makefile.

Previous versions by Christoph Pfisterer.
<<
License: OSI-Approved
Homepage: http://www.libpng.org/pub/png/
Maintainer: Dave Morrison <[EMAIL PROTECTED]>


--- NEW FILE: libpng-shlibs-1.0.12-4.info ---
Package: libpng-shlibs
Version: 1.0.12
Revision: 4
Depends: zlib
Replaces: libpng (<< 1.0.12-3)
Source: http://prdownloads.sourceforge.net/libpng/libpng-%v.tar.gz
Patch: %f.patch
PatchScript: ln -s scripts/makefile.darwin Makefile
CompileScript: make prefix=%p ZLIBLIB=%p/lib ZLIBINC=%p/include
InstallScript: <<
make install prefix=%i ZLIBLIB=%p/lib ZLIBINC=%p/include
rm -rf %i/include/
rm -f %i/lib/libpng.dylib
rm -f %i/lib/libpng.a
<<
DocFiles: LICENSE README ANNOUNCE Y2KINFO KNOWNBUG 
#
Description: PNG image format handling library
DescPort: <<
Doesn't use autoconf. Comes with a big selection of Makefiles
instead. The included Makefile for Mac OS X only builds static
libraries, so we use our own Makefile.

Previous versions by Christoph Pfisterer.
<<
License: OSI-Approved
Homepage: http://www.libpng.org/pub/png/
Maintainer: Dave Morrison <[EMAIL PROTECTED]>



_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to