HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #659

Ticket #659: v8-r13067.bep

File v8-r13067.bep, 1.2 KB (added by cipri, 3 years ago)

Improved bep file

Line 
1DESCRIPTION="V8 is Google's open source JavaScript engine."
2HOMEPAGE="https://code.google.com/p/v8/"
3SRC_URI="svn+http://v8.googlecode.com/svn/trunk/#13067"
4REVISION="1"
5STATUS_HAIKU="unstable"
6DEPEND=""
7#CHECKSUM_MD5=""
8MESSAGE="This port only builds with gcc4."
9BUILD {
10        gyp_patch_path=$(dirname ${PWD})/patches/gyp-r1501.patch
11        cd v8-r13067
12        cd build
13        svn co http://gyp.googlecode.com/svn/trunk/@1501 gyp
14        cd gyp
15        patch -p1  -i $gyp_patch_path
16        cd ../..
17        make library=shared ia32.debug
18}
19
20TEST {
21        cd cd v8-r13067
22        make ia32.debug.check
23}
24
25INSTALL {
26        cd v8-r13067
27        includedir=${DESTDIR}/`finddir B_COMMON_HEADERS_DIRECTORY`/v8
28        mkdir -p ${includedir}
29        cp -R ./include/*  ${includedir}
30        libdir=${DESTDIR}/`finddir B_COMMON_LIB_DIRECTORY`
31        mkdir -p ${libdir}
32        cp -R ./out/ia32.debug/obj.target/tools/gyp/*.a ${libdir}
33        cp -R ./out/ia32.debug/obj.target/tools/gyp/*.so ${libdir}
34        bindir=${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`/v8
35        mkdir -p ${bindir}
36        cp ./out/ia32.debug/cctest ${bindir}
37        cp ./out/ia32.debug/d8 ${bindir}
38        cp ./out/ia32.debug/lineprocessor ${bindir}
39        cp ./out/ia32.debug/mksnapshot ${bindir}
40        cp ./out/ia32.debug/preparser ${bindir}
41        cp ./out/ia32.debug/process ${bindir}
42        cp ./out/ia32.debug/shell ${bindir}
43}
44
45LICENSE="BSD (3-clause)"
46COPYRIGHT="Google"

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/