Added js-1.8.5 build template.

This commit is contained in:
Juan RP 2011-07-12 18:53:07 +02:00
parent 0d9d7c0e4c
commit cbb6fbbcde
6 changed files with 62 additions and 0 deletions

1
srcpkgs/js-devel Symbolic link
View file

@ -0,0 +1 @@
js

2
srcpkgs/js/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=1.8.5"
api_depends="${abi_depends}"

View file

@ -0,0 +1,17 @@
# Template file for 'gjs-devel'.
#
short_desc="${sourcepkg} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run nspr-devel
Add_dependency run js
do_install()
{
vmove usr/bin usr
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib
}

View file

@ -0,0 +1,15 @@
#https://bugzilla.mozilla.org/show_bug.cgi?id=628723
--- js/src/Makefile.in.old 2011-04-10 04:21:19.918608008 -0700
+++ js/src/Makefile.in 2011-04-10 04:21:58.088607992 -0700
@@ -888,8 +888,8 @@
ifeq (,$(HOST_BIN_SUFFIX))
mv -f $(SHLIB_ANY_VER) $(SHLIB_EXACT_VER)
@[ ! -h $(SHLIB_ABI_VER) ] || rm -f $(SHLIB_ABI_VER)
- ln -s $(SHLIB_EXACT_VER) $(SHLIB_ABI_VER)
- ln -s $(SHLIB_ABI_VER) $(SHLIB_ANY_VER)
+ ln -s $(notdir $(SHLIB_EXACT_VER)) $(SHLIB_ABI_VER)
+ ln -s $(notdir $(SHLIB_ABI_VER)) $(SHLIB_ANY_VER)
endif
endif
ifneq (,$(IMPORT_LIBRARY))

26
srcpkgs/js/template Normal file
View file

@ -0,0 +1,26 @@
# Template file for 'js'
pkgname=js
version=1.8.5
build_wrksrc="js/src"
distfiles="${MOZILLA_SITE}/js/js185-1.0.0.tar.gz"
build_style=gnu_configure
configure_args="--with-system-nspr --enable-threadsafe"
short_desc="Spidermonkey JavaScript interpreter and library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=5d12f7e1f5b4a99436685d97b9b7b75f094d33580227aa998c406bbae6f2a687
long_desc="
SpiderMonkey 1.8.5 is the JavaScript engine that shipped in Firefox 4.0.
It is much faster than SpiderMonkey 1.8, implements ES-5 (ECMA 262,
5th Edition), and contains many new language and API features."
subpackages="js-devel"
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run nspr
Add_dependency build zip
Add_dependency build python
Add_dependency build perl ">=0"
Add_dependency build nspr-devel

View file

@ -815,3 +815,4 @@ libgfortran.so libgfortran libgfortran-devel
swig-callback-callback.so go go
swig-file-file.so go go
libblktapctl.so.1 xen xen-devel
libmozjs185.so.1 js js-devel