community/v8 to 3.16.4.1-2

This commit is contained in:
Kevin Mihelich 2013-02-16 20:11:14 +00:00
parent cf0a4346e3
commit ef9aa83e34

View file

@ -5,9 +5,8 @@
pkgname=v8
pkgver=3.16.4.1
pkgrel=1
plugrel=1
pkgdesc='A fast and modern javascript engine'
pkgrel=2
pkgdesc='Fast and modern javascript engine'
arch=('i686' 'x86_64')
url='http://code.google.com/p/v8'
license=('BSD')
@ -63,6 +62,10 @@ fi
# make arm.release & arm.debug = just arm
make arm.release library=shared snapshot=off vfp3=$VFP3 vfp=$VFP2
# eo build
cd $srcdir && cp -r $pkgname-$pkgver d8-static-$pkgver
cd d8-static-$pkgver
make arm.release library=static snapshot=off vfp3=$VFP3 vfp=$VFP2
}
# seperated to possibly split v8-debug in the future.
@ -77,6 +80,7 @@ package (){
# src/v8-3.11.10/out/arm.release/d8
# src/v8-3.11.10/out/arm.release/lib.target/libv8.so
install -Dm755 out/arm.release/d8 "${pkgdir}/usr/bin/d8"
install -Dm755 $srcdir/d8-static-$pkgver/out/arm.release/d8 $pkgdir/usr/bin/d8-static
install -Dm755 out/arm.release/lib.target/libv8.so "${pkgdir}/usr/lib/libv8.so"
install -d ${pkgdir}/usr/share/licenses/v8