v8: update to 3.19.18.4.

This commit is contained in:
Juan RP 2013-08-21 12:14:51 +02:00
parent 68d86ed520
commit afb6ce3954
1 changed files with 12 additions and 6 deletions

View File

@ -1,13 +1,13 @@
# Template file for 'v8'
pkgname=v8
version=3.12.19.15
revision=2
version=3.19.18.4
revision=1
short_desc="V8 JavaScript Engine"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://code.google.com/p/v8/"
license="BSD"
distfiles="http://commondatastorage.googleapis.com/chromium-browser-official/v8-${version}.tar.bz2"
checksum=5f8f0a700a88250170118b5994aacf57f6527a6c0017096b5cb322ecbad6e187
checksum=10d7a51ed2769b1c2a6311a30ed1967d0a1da3f522c90b9c00f25fbe0b1aba02
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.
@ -24,6 +24,8 @@ hostmakedepends="which subversion python"
makedepends="readline-devel"
do_build() {
export LINK="$CXX" LD="$CXX"
# TODO: add support to crosscompile for other targets.
if [ "$CROSS_BUILD" ]; then
case "${XBPS_TARGET_MACHINE}" in
@ -60,7 +62,11 @@ do_install() {
fi
if [ -z "$CROSS_BUILD" ]; then
# mksnapshot only built in native builds.
vinstall out/native/mksnapshot 755 usr/bin
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
vinstall out/native/mksnapshot.x64 755 usr/bin mksnapshot
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
vinstall out/native/mksnapshot.ia32 755 usr/bin mksnapshot
fi
fi
vinstall include/${pkgname}-debug.h 644 usr/include
@ -73,14 +79,14 @@ do_install() {
v8-devel_package() {
depends="libv8-${version}_${revision}"
short_desc="${short_desc} (Development headers)"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}
libv8_package() {
short_desc="${short_desc} (Runtime library)"
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib
}