Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv14145
Added Files: byteswap-dev.info Log Message: New package. Just a shim for packages that need byteswap.h without having to patch each one separately. --- NEW FILE: byteswap-dev.info --- Package: byteswap-dev Version: 20091128 Revision: 1 Type: nosource Description: Linux-style byteswap.h header file DescDetail: << Some packages assume that all systems have a Linux-style byteswap.h header file defining the macros bswap_16(), bswap_32() and bswap_64(). Since Mac OS X doesn't have this, we create a byteswap.h that maps those macros to the OS X equivalents. << DescUsage: << To use, BuildDepend on %n and add -I%%p/lib/%n to CPPFLAGS. << License: Public Domain Maintainer: Daniel Johnson <dan...@daniel-johnson.org> BuildDependsOnly: true CompileScript: << #!/bin/bash -ev cat >byteswap.h <<EOF /* This is a simple compatibility shim to convert Linux byte swap macros to the Mac OS X equivalents. It is public domain. */ #include <libkern/OSByteOrder.h> #define bswap_16(x) OSSwapInt16(x) #define bswap_32(x) OSSwapInt32(x) #define bswap_64(x) OSSwapInt64(x) EOF << InstallScript: << install -d %i/lib/%n install -m 0644 byteswap.h %i/lib/%n << ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs