summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-09-03 20:51:21 +0000
committerMamoru Komachi <usata@gentoo.org>2004-09-03 20:51:21 +0000
commit0a02d0cc90ea9c65c7284d540d8ee95732f3e6cd (patch)
tree3b9ec44af6b5296d7ea3176ea11ea3e9c515d71d /dev-lang/spidermonkey
parents/Gentoo MacOS/ Gentoo for ... (diff)
downloadhistorical-0a02d0cc90ea9c65c7284d540d8ee95732f3e6cd.tar.gz
historical-0a02d0cc90ea9c65c7284d540d8ee95732f3e6cd.tar.bz2
historical-0a02d0cc90ea9c65c7284d540d8ee95732f3e6cd.zip
Version bumped. Install headers, too. See bug #24502.
Diffstat (limited to 'dev-lang/spidermonkey')
-rw-r--r--dev-lang/spidermonkey/ChangeLog7
-rw-r--r--dev-lang/spidermonkey/Manifest4
-rw-r--r--dev-lang/spidermonkey/files/digest-spidermonkey-1.5_rc61
-rw-r--r--dev-lang/spidermonkey/spidermonkey-1.5_rc6.ebuild45
4 files changed, 55 insertions, 2 deletions
diff --git a/dev-lang/spidermonkey/ChangeLog b/dev-lang/spidermonkey/ChangeLog
index 38ed14540c29..019c95b91845 100644
--- a/dev-lang/spidermonkey/ChangeLog
+++ b/dev-lang/spidermonkey/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/spidermonkey
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.2 2004/06/24 22:56:36 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.3 2004/09/03 20:51:21 usata Exp $
+
+*spidermonkey-1.5_rc6 (04 Sep 2004)
+
+ 04 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> +spidermonkey-1.5_rc6.ebuild:
+ Version bumped. Install headers, too. See bug #24502.
*spidermonkey-1.5_rc5 (23 Feb 2003)
diff --git a/dev-lang/spidermonkey/Manifest b/dev-lang/spidermonkey/Manifest
index b4456e59f0cc..ee9347960718 100644
--- a/dev-lang/spidermonkey/Manifest
+++ b/dev-lang/spidermonkey/Manifest
@@ -1,3 +1,5 @@
MD5 2b290295523d58470ab879798264e874 spidermonkey-1.5_rc5.ebuild 797
-MD5 2f7d7cb94e40cb161f84e47389d03a31 ChangeLog 374
+MD5 c2d7ae6b4a3041e23c0e459fc0fe2561 ChangeLog 544
+MD5 650d07afc8a37cbb350a3ae5faa1677b spidermonkey-1.5_rc6.ebuild 1146
MD5 e7bfb72073e1ade3470d60ba93042804 files/digest-spidermonkey-1.5_rc5 63
+MD5 8e216cdd6972fcc5206162ef5f0a9702 files/digest-spidermonkey-1.5_rc6 64
diff --git a/dev-lang/spidermonkey/files/digest-spidermonkey-1.5_rc6 b/dev-lang/spidermonkey/files/digest-spidermonkey-1.5_rc6
new file mode 100644
index 000000000000..41a8dea7405d
--- /dev/null
+++ b/dev-lang/spidermonkey/files/digest-spidermonkey-1.5_rc6
@@ -0,0 +1 @@
+MD5 25e1d1dd2674d85883391b6b42a7b02f js-1.5-rc6a.tar.gz 1058911
diff --git a/dev-lang/spidermonkey/spidermonkey-1.5_rc6.ebuild b/dev-lang/spidermonkey/spidermonkey-1.5_rc6.ebuild
new file mode 100644
index 000000000000..64f1506a4c7b
--- /dev/null
+++ b/dev-lang/spidermonkey/spidermonkey-1.5_rc6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.5_rc6.ebuild,v 1.1 2004/09/03 20:51:21 usata Exp $
+
+MY_PV="${PV/_/-}a"
+DESCRIPTION="Stand-alone JavaScript C library"
+HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
+SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/js/js-${MY_PV}.tar.gz"
+
+LICENSE="NPL-1.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}/js/src/
+
+src_compile() {
+ cat >>Makefile.ref<<'EOF'
+
+.PHONY: install-headers
+install-headers: $(JS_HFILES)
+ install -g root -o root -m 555 -d $(DESTDIR)/usr/include
+ install -g root -o root -m 444 $^ $(DESTDIR)/usr/include
+EOF
+
+ # it needs to run twice
+ emake -j1 -f Makefile.ref BUILD_OPT=1 \
+ || emake -j1 -f Makefile.ref BUILD_OPT=1 || die
+}
+
+src_install() {
+ cd Linux_All_OPT.OBJ
+ dolib.a libjs.a || die "libjs.a failed"
+ dolib.so libjs.so || die "libjs.so failed"
+ dobin js jscpucfg || die "dobin failed"
+ cd -
+
+ make -f Makefile.ref DESTDIR=${D} install-headers \
+ || die "make install-headers failed."
+
+ dodoc ../README
+ dohtml README.html
+}