New package: mozjs17-17.0.0.
This commit is contained in:
parent
ab62b3a73d
commit
52aee0546f
|
@ -1413,3 +1413,4 @@ libnet.so.1 libnet-1.1.6_1
|
|||
libthreadutil.so.6 libupnp-1.6.18_1
|
||||
libixml.so.2 libupnp-1.6.18_1
|
||||
libupnp.so.6 libupnp-1.6.18_1
|
||||
libmozjs-17.0.so mozjs17-17.0.0_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
mozjs17
|
|
@ -0,0 +1,38 @@
|
|||
# Template file for 'mozjs17'
|
||||
pkgname=mozjs17
|
||||
version=17.0.0
|
||||
revision=1
|
||||
wrksrc="mozjs${version}"
|
||||
build_wrksrc="js/src"
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-system-nspr --enable-threadsafe"
|
||||
hostmakedepends="zip python perl"
|
||||
makedepends="zlib-devel nspr-devel libedit-devel libffi-devel"
|
||||
short_desc="Mozilla JavaScript interpreter and library"
|
||||
homepage="http://www.mozilla.org/js/"
|
||||
license="MPL-1.1, GPL-2, LGPL-2.1"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
distfiles="${MOZILLA_SITE}/js/mozjs${version}.tar.gz"
|
||||
checksum=321e964fe9386785d3bf80870640f2fa1c683e32fe988eeb201b04471c172fba
|
||||
long_desc="
|
||||
JavaScript is the Netscape-developed object scripting language used in millions
|
||||
of web pages and server applications worldwide. Netscape's JavaScript is a
|
||||
superset of the ECMA-262 Edition 3 (ECMAScript) standard scripting language,
|
||||
with only mild differences from the published standard."
|
||||
|
||||
mozjs17-devel_package() {
|
||||
depends="nspr-devel ${sourcepkg}>=${version}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/bin/js17-config
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
||||
|
||||
mozjs17_package() {
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue