mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
alarm/v8 -> alarm/v8-3.16
This commit is contained in:
parent
3306f03be2
commit
b0f14e1380
1 changed files with 10 additions and 7 deletions
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
# older v8 for mongodb
|
# older v8 for mongodb
|
||||||
|
|
||||||
pkgname=v8
|
pkgname=v8-3.16
|
||||||
|
_pkgname=v8
|
||||||
pkgver=3.16.8.1
|
pkgver=3.16.8.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Fast and modern javascript engine'
|
pkgdesc='Fast and modern javascript engine'
|
||||||
|
@ -14,15 +15,17 @@ url='http://code.google.com/p/v8'
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
depends=('gcc-libs')
|
depends=('gcc-libs')
|
||||||
makedepends=('subversion' 'python2')
|
makedepends=('subversion' 'python2')
|
||||||
source=(http://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.bz2)
|
provides=("v8=${pkgver}")
|
||||||
|
conflicts=('v8')
|
||||||
|
source=(http://commondatastorage.googleapis.com/chromium-browser-official/$_pkgname-$pkgver.tar.bz2)
|
||||||
sha256sums=('b99ffa913e8f00b8fdb3b58cadf2addbbf60549a5be8d12a6c0b7095a36ac7e0')
|
sha256sums=('b99ffa913e8f00b8fdb3b58cadf2addbbf60549a5be8d12a6c0b7095a36ac7e0')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd $pkgname-$pkgver
|
cd $_pkgname-$pkgver
|
||||||
# _source="http://v8.googlecode.com/svn/tags/${pkgver}"
|
# _source="http://v8.googlecode.com/svn/tags/${pkgver}"
|
||||||
# svn checkout "$_source" "${srcdir}/v8-${pkgver}"
|
# svn checkout "$_source" "${srcdir}/v8-${pkgver}"
|
||||||
|
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
|
|
||||||
if [ "$CARCH" == "arm" ]; then
|
if [ "$CARCH" == "arm" ]; then
|
||||||
# we need to override the arch (last one will be used) because
|
# we need to override the arch (last one will be used) because
|
||||||
|
@ -56,21 +59,21 @@ fi
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $_pkgname-$pkgver
|
||||||
# gets gyp
|
# gets gyp
|
||||||
make dependencies
|
make dependencies
|
||||||
# make arm.release & arm.debug = just arm
|
# make arm.release & arm.debug = just arm
|
||||||
make arm.release library=shared snapshot=off vfp3=$VFP3 vfp=$VFP2 werror=no
|
make arm.release library=shared snapshot=off vfp3=$VFP3 vfp=$VFP2 werror=no
|
||||||
# eo build
|
# eo build
|
||||||
|
|
||||||
cd $srcdir && cp -r $pkgname-$pkgver d8-static-$pkgver
|
cd $srcdir && cp -r $_pkgname-$pkgver d8-static-$pkgver
|
||||||
cd d8-static-$pkgver
|
cd d8-static-$pkgver
|
||||||
make arm.release library=static snapshot=off vfp3=$VFP3 vfp=$VFP2 werror=no
|
make arm.release library=static snapshot=off vfp3=$VFP3 vfp=$VFP2 werror=no
|
||||||
}
|
}
|
||||||
|
|
||||||
# seperated to possibly split v8-debug in the future.
|
# seperated to possibly split v8-debug in the future.
|
||||||
package (){
|
package (){
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
|
|
||||||
find include -type f \
|
find include -type f \
|
||||||
-exec install -Dm644 {} ${pkgdir}/usr/{} \;
|
-exec install -Dm644 {} ${pkgdir}/usr/{} \;
|
Loading…
Reference in a new issue