diff --git a/srcpkgs/v8/libv8.template b/srcpkgs/v8/libv8.template index 3ed2aa6bd5d..25cc7c74d0e 100644 --- a/srcpkgs/v8/libv8.template +++ b/srcpkgs/v8/libv8.template @@ -1,11 +1,16 @@ # Template file for 'libv8'. # short_desc="${short_desc} (Runtime library)" -long_desc="${long_desc} +long_desc=" + V8 is Google's open source JavaScript engine. V8 is written in C++ and is + used in Google Chrome, the open source browser from Google. + + V8 implements ECMAScript as specified in ECMA-262, 5th edition, and runs on + Windows (XP or newer), Mac OS X (10.5 or newer), and Linux systems that use + IA-32, x64, or ARM processors. This package contains the v8 runtime library." -do_install() -{ +do_install() { vmove usr/lib usr } diff --git a/srcpkgs/v8/template b/srcpkgs/v8/template index dfda2944b31..1d426abb0c3 100644 --- a/srcpkgs/v8/template +++ b/srcpkgs/v8/template @@ -1,14 +1,13 @@ # Template file for 'v8' pkgname=v8 -version=3.11.10.12 -distfiles="http://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-$version.tar.bz2" -makedepends="python readline-devel which" +version=3.14.5 revision=1 short_desc="V8 JavaScript Engine" maintainer="davehome " homepage="http://code.google.com/p/v8/" license="BSD" -checksum=fc7b0e54ba1d5f07ce0bb9cf0f09aab66c9aa14861e5e8a28ef0bb2a3f729430 +distfiles="http://github.com/v8/v8/tarball/${version}" +checksum=e5e06d14cbb5b0cec9cfbbe5e87714d52a17f222b83875673157453cce6e6c5b long_desc=" V8 is Google's open source JavaScript engine. V8 is written in C++ and is used in Google Chrome, the open source browser from Google. @@ -22,15 +21,23 @@ long_desc=" This package contains v8 the utilities mksnapshot and the d8 shell." subpackages="${pkgname}-devel lib${pkgname}" +makedepends="git which subversion python readline-devel" +noextract=yes +nofetch=yes -do_build() -{ - make ${makejobs} native library=shared console=readline disassembler=on liveobjectlist=on +do_fetch() { + git clone -b${version} git://github.com/v8/v8.git v8-${version} } -do_install() -{ +do_build() { + make dependencies + + make ${makejobs} native library=shared console=readline \ + disassembler=on liveobjectlist=on +} + +do_install() { vinstall out/native/d8 755 usr/bin vinstall out/native/mksnapshot 755 usr/bin vinstall out/native/lib.target/lib${pkgname}.so 755 usr/lib diff --git a/srcpkgs/v8/v8-devel.template b/srcpkgs/v8/v8-devel.template index 4c23fd84bd5..cda46c2631f 100644 --- a/srcpkgs/v8/v8-devel.template +++ b/srcpkgs/v8/v8-devel.template @@ -1,13 +1,18 @@ # Template file for 'v8-devel'. # -depends="libv8" +noarch=yes +depends="libv8-${version}_${revision}" short_desc="${short_desc} (Development headers)" -long_desc="${long_desc} +long_desc=" + V8 is Google's open source JavaScript engine. V8 is written in C++ and is + used in Google Chrome, the open source browser from Google. + + V8 implements ECMAScript as specified in ECMA-262, 5th edition, and runs on + Windows (XP or newer), Mac OS X (10.5 or newer), and Linux systems that use + IA-32, x64, or ARM processors. This package contains the v8 development headers." - -do_install() -{ +do_install() { vmove usr/include usr }