void-packages/srcpkgs/js/template

36 lines
1003 B
Plaintext
Raw Normal View History

2011-07-12 18:53:07 +02:00
# Template file for 'js'
pkgname=js
version=1.8.5
revision=5
2011-07-12 18:53:07 +02:00
build_wrksrc="js/src"
build_style=gnu-configure
2011-07-12 18:53:07 +02:00
configure_args="--with-system-nspr --enable-threadsafe"
makedepends="zip python perl>=0 nspr-devel"
2011-07-12 18:53:07 +02:00
short_desc="Spidermonkey JavaScript interpreter and library"
2013-03-29 23:49:22 +01:00
homepage="https://developer.mozilla.org/en/docs/SpiderMonkey"
license="MPL-1.1, GPL-2, LGPL-2.1"
2011-07-12 18:53:07 +02:00
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${MOZILLA_SITE}/js/js185-1.0.0.tar.gz"
2011-07-12 18:53:07 +02:00
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."
js-devel_package() {
depends="nspr-devel js>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}
2011-07-12 18:53:07 +02:00
js_package() {
pkg_install() {
vmove usr
}
}