diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-10-25 18:46:01 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-10-25 18:46:01 +0200 |
commit | 5833e11252fe4cc8a98860d8058eb9a5e468ee70 (patch) | |
tree | 2a9f6051350e5ded403cf65e81324e10f041827a /community/nodejs | |
parent | aa59a87bb8860445bb3a4b233b44812b65b8c363 (diff) | |
parent | a3b55a0c47a00ac40bc00a4ce87d93f809273840 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/cegui/PKGBUILD
community-testing/darktable/PKGBUILD
community-testing/freewrl/PKGBUILD
community-testing/gambas3/PKGBUILD
community-testing/gource/PKGBUILD
community-testing/luminancehdr/PKGBUILD
community-testing/luxrays/PKGBUILD
community-testing/luxrender/PKGBUILD
community-testing/megaglest/PKGBUILD
community-testing/openimageio/PKGBUILD
community-testing/performous/PKGBUILD
community-testing/projectm/PKGBUILD
community-testing/rss-glx/PKGBUILD
community-testing/sfml/PKGBUILD
community-testing/spring/PKGBUILD
community-testing/supertux/PKGBUILD
community-testing/widelands/PKGBUILD
community-testing/xbmc/PKGBUILD
community-testing/xbmc/xbmc.install
community/plan9port/PKGBUILD
community/v8/PKGBUILD
multilib/dev86/PKGBUILD
testing/binutils/PKGBUILD
testing/bzflag/PKGBUILD
testing/calligra/PKGBUILD
testing/cinepaint/PKGBUILD
testing/coreutils/PKGBUILD
testing/enblend-enfuse/PKGBUILD
testing/gcc/PKGBUILD
testing/gegl/PKGBUILD
testing/glew/PKGBUILD
testing/glibc/PKGBUILD
testing/glibc/glibc.install
testing/glibc/nscd.service
testing/gnome-documents/PKGBUILD
testing/hugin/PKGBUILD
testing/inkscape/PKGBUILD
testing/opencv/PKGBUILD
testing/systemd/PKGBUILD
testing/systemd/systemd.install
testing/tracker/PKGBUILD
testing/transcode/PKGBUILD
testing/transcode/ffmpeg-0.11.patch
testing/xf86-video-nouveau/PKGBUILD
testing/xine-lib/PKGBUILD
Diffstat (limited to 'community/nodejs')
-rw-r--r-- | community/nodejs/PKGBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index 59db457f8..5ae5cddce 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 77604 2012-10-13 08:08:33Z bpiotrowski $ +# $Id: PKGBUILD 78788 2012-10-24 19:44:32Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: James Campos <james.r.campos@gmail.com> @@ -9,12 +9,12 @@ pkgname=nodejs pkgver=0.8.12 -pkgrel=1 +pkgrel=2 pkgdesc='Evented I/O for V8 javascript' arch=('i686' 'x86_64' 'mips64el') url='http://nodejs.org/' license=('MIT') -depends=('openssl' 'python2') #'v8') +depends=('openssl' 'python2' 'v8') checkdepends=('curl') # curl used for check() options=('!emptydirs') source=(http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz) @@ -24,18 +24,21 @@ build() { cd node-v${pkgver} msg 'Fixing for python2 name' - find -type f -exec sed -e 's_^#!/usr/bin/env python$_&2_' -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' -e 's_^#!/usr/bin/python$_&2_' -e "s_'python'_'python2'_" -i {} \; - find test -type f -exec sed -e "s|python |python2 |" -i {} \; - sed -i "s|python |python2 |" Makefile + find -type f -exec \ + sed -e 's_^#!/usr/bin/env python$_&2_' \ + -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' \ + -e 's_^#!/usr/bin/python$_&2_' \ + -e "s_'python'_'python2'_" \ + -e 's_python _python2 _' -i {} \; export PYTHON=python2 ./configure \ --prefix=/usr \ --shared-openssl \ -# --shared-v8 \ -# --shared-v8-libpath=/usr/lib \ -# --shared-v8-includes=/usr/include + --shared-v8 \ + --shared-v8-libpath=/usr/lib \ + --shared-v8-includes=/usr/include make } |