diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/extra-testing/spidermonkey | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/extra-testing/spidermonkey')
-rw-r--r-- | abs/extra-testing/spidermonkey/PKGBUILD | 27 | ||||
-rw-r--r-- | abs/extra-testing/spidermonkey/header.patch | 12 | ||||
-rw-r--r-- | abs/extra-testing/spidermonkey/spidermonkey-1.7-threadsafe.patch | 16 |
3 files changed, 0 insertions, 55 deletions
diff --git a/abs/extra-testing/spidermonkey/PKGBUILD b/abs/extra-testing/spidermonkey/PKGBUILD deleted file mode 100644 index 3a44af3..0000000 --- a/abs/extra-testing/spidermonkey/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -pkgname=spidermonkey -pkgver=1.7.0 -pkgrel=2 -pkgdesc="Mozilla's C implementation of JavaScript." -arch=("i686" "x86_64") -url="http://www.mozilla.org/js/spidermonkey/" -license=('MPL' 'GPL' 'LGPL') -depends=('nspr') -options=('!makeflags' 'force') -source=("http://ftp.mozilla.org/pub/mozilla.org/js/js-$pkgver.tar.gz" \ - "spidermonkey-1.7-threadsafe.patch" "header.patch") -md5sums=('5571134c3863686b623ebe4e6b1f6fe6' 'b2ef9be017b6aa1857354b5223975a4f') - -build() -{ - cd $startdir/src/js/src - # fix for the lib location - [ "$CARCH" = "x86_64" ] && (sed -i -e "s:lib64:lib:g" config.mk || return 1) - # patch Makefile for threadsafe support with native nspr - patch -p2 -i $startdir/src/spidermonkey-1.7-threadsafe.patch || return 1 - patch -p2 -i $startdir/src/header.patch || return 1 - # build - threadsafe - make -f Makefile.ref BUILD_OPT=1 JS_THREADSAFE=1 DIST=$startdir/pkg/usr all export || return 1 - # install - mkdir -p $startdir/pkg/usr/include/js - mv $startdir/pkg/usr/include/*.h $startdir/pkg/usr/include/js/ -} diff --git a/abs/extra-testing/spidermonkey/header.patch b/abs/extra-testing/spidermonkey/header.patch deleted file mode 100644 index b69caae..0000000 --- a/abs/extra-testing/spidermonkey/header.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -aur js.orig/src/Makefile.ref js/src/Makefile.ref ---- js.orig/src/Makefile.ref 2008-07-18 21:05:37.154351682 +0800 -+++ js/src/Makefile.ref 2008-07-18 21:06:39.291061725 +0800 -@@ -188,6 +188,8 @@ - jsstr.h \ - jsxdrapi.h \ - jsxml.h \ -+ jsutil.h \ -+ jsprf.h \ - $(NULL) - - API_HFILES = \ diff --git a/abs/extra-testing/spidermonkey/spidermonkey-1.7-threadsafe.patch b/abs/extra-testing/spidermonkey/spidermonkey-1.7-threadsafe.patch deleted file mode 100644 index da6c78d..0000000 --- a/abs/extra-testing/spidermonkey/spidermonkey-1.7-threadsafe.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- js/src/Makefile.ref.orig 2008-05-28 19:51:32.000000000 -0400 -+++ js/src/Makefile.ref 2008-05-28 19:52:17.000000000 -0400 -@@ -63,11 +63,11 @@ - - ifdef JS_THREADSAFE - DEFINES += -DJS_THREADSAFE --INCLUDES += -I$(DIST)/include/nspr -+INCLUDES += -I/usr/include/nspr - ifdef USE_MSVC - OTHER_LIBS += $(DIST)/lib/libnspr$(NSPR_LIBSUFFIX).lib - else --OTHER_LIBS += -L$(DIST)/lib -lnspr$(NSPR_LIBSUFFIX) -+OTHER_LIBS += -L/usr/$(LIBDIR)/nspr -lnspr${NSPR_LIBSUFFIX} - endif - endif - |