mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
v8: update to 3.19.18.4.
This commit is contained in:
parent
68d86ed520
commit
afb6ce3954
1 changed files with 12 additions and 6 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'v8'
|
# Template file for 'v8'
|
||||||
pkgname=v8
|
pkgname=v8
|
||||||
version=3.12.19.15
|
version=3.19.18.4
|
||||||
revision=2
|
revision=1
|
||||||
short_desc="V8 JavaScript Engine"
|
short_desc="V8 JavaScript Engine"
|
||||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
homepage="http://code.google.com/p/v8/"
|
homepage="http://code.google.com/p/v8/"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="http://commondatastorage.googleapis.com/chromium-browser-official/v8-${version}.tar.bz2"
|
distfiles="http://commondatastorage.googleapis.com/chromium-browser-official/v8-${version}.tar.bz2"
|
||||||
checksum=5f8f0a700a88250170118b5994aacf57f6527a6c0017096b5cb322ecbad6e187
|
checksum=10d7a51ed2769b1c2a6311a30ed1967d0a1da3f522c90b9c00f25fbe0b1aba02
|
||||||
long_desc="
|
long_desc="
|
||||||
V8 is Google's open source JavaScript engine. V8 is written in C++ and is
|
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.
|
used in Google Chrome, the open source browser from Google.
|
||||||
|
@ -24,6 +24,8 @@ hostmakedepends="which subversion python"
|
||||||
makedepends="readline-devel"
|
makedepends="readline-devel"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
export LINK="$CXX" LD="$CXX"
|
||||||
|
|
||||||
# TODO: add support to crosscompile for other targets.
|
# TODO: add support to crosscompile for other targets.
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
|
@ -60,7 +62,11 @@ do_install() {
|
||||||
fi
|
fi
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
# mksnapshot only built in native builds.
|
# 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
|
fi
|
||||||
|
|
||||||
vinstall include/${pkgname}-debug.h 644 usr/include
|
vinstall include/${pkgname}-debug.h 644 usr/include
|
||||||
|
@ -73,14 +79,14 @@ do_install() {
|
||||||
|
|
||||||
v8-devel_package() {
|
v8-devel_package() {
|
||||||
depends="libv8-${version}_${revision}"
|
depends="libv8-${version}_${revision}"
|
||||||
short_desc="${short_desc} (Development headers)"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libv8_package() {
|
libv8_package() {
|
||||||
short_desc="${short_desc} (Runtime library)"
|
short_desc+=" - runtime library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib
|
vmove usr/lib
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue