libv8-2.4.2-dev stable port information

Package: libv8-2.4.2-dev
Version: 2.4.2
Revision: 1
Architecture: i386, x86_64
Description: V8 JavaScript Engine
DescDetail: <<
V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262, 3rd edition, and runs on
Windows XP and Vista, Mac OS X 10.5 (Leopard), and Linux systems that use
IA-32, x64 or ARM processors.
<<
DescPackaging: There is no binary compatibility between versions of V8.
License: BSD
HomePage: http://code.google.com/p/v8/
Maintainer: Abdulla Kamar

Source: http://v8-fink.googlecode.com/files/v8-%v.tar.bz2
Source-MD5: a468d36d0cf63419598208c8337a6b44

GCC: 4.0
Depends: libv8-2.4.2-shlibs (= %v-%r)
BuildDepends: fink (>= 0.24.12), scons
BuildDependsOnly: true
BuildConflicts: libv80-dev, libv8-2.1.2-dev, libv8-%v-dev
Conflicts: libv80-dev, libv8-2.1.2-dev
Replaces: libv80-dev, libv8-2.1.2-dev

CompileScript: <<
#!/bin/sh -ev
[ %m = i386 ] && ARCH=ia32 || ARCH=x64
scons arch=$ARCH library=shared debuggersupport=off profilingsupport=off
<<

InstallScript: <<
#!/bin/sh -ev

mkdir %i/lib
install_name_tool -id %p/lib/libv8.2.4.2.dylib libv8.dylib
cp libv8.dylib %i/lib/libv8.2.4.2.dylib

pushd %i/lib
ln -s libv8.2.4.2.dylib libv8.dylib
popd

mkdir %i/include
cp include/v8*.h %i/include

chmod 755 %i/lib/*.dylib
chmod 644 %i/include/*.h
<<

DocFiles: ChangeLog LICENSE AUTHORS

SplitOff: <<
Package: libv8-2.4.2-shlibs

Files: lib/libv8.2.4.2.dylib
Shlibs: <<
%p/lib/libv8.2.4.2.dylib 0.0.0 %n (>= 2.4.2-1)
<<

DocFiles: ChangeLog LICENSE AUTHORS
<<