summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice van der Pot <griffon26@gentoo.org>2005-07-16 12:37:18 +0000
committerMaurice van der Pot <griffon26@gentoo.org>2005-07-16 12:37:18 +0000
commit2a7d1d8dc34ce2bc043f99bc8e94d951282801f9 (patch)
treef1b8a02676655dcd0de1c1d548dd2bdb5c5f6591
parentdep fixes (diff)
downloadgentoo-2-2a7d1d8dc34ce2bc043f99bc8e94d951282801f9.tar.gz
gentoo-2-2a7d1d8dc34ce2bc043f99bc8e94d951282801f9.tar.bz2
gentoo-2-2a7d1d8dc34ce2bc043f99bc8e94d951282801f9.zip
Version bump of dev-lang/sr to 2.3.3
(Portage version: 2.0.51.22-r1)
-rw-r--r--dev-lang/sr/ChangeLog11
-rw-r--r--dev-lang/sr/Manifest6
-rw-r--r--dev-lang/sr/files/digest-sr-2.3.31
-rw-r--r--dev-lang/sr/metadata.xml6
-rw-r--r--dev-lang/sr/sr-2.3.3.ebuild73
5 files changed, 93 insertions, 4 deletions
diff --git a/dev-lang/sr/ChangeLog b/dev-lang/sr/ChangeLog
index dcb227809c4e..70871b4185f1 100644
--- a/dev-lang/sr/ChangeLog
+++ b/dev-lang/sr/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/sr
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/sr/ChangeLog,v 1.3 2004/06/24 22:57:20 agriffis Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/sr/ChangeLog,v 1.4 2005/07/16 12:37:18 griffon26 Exp $
+
+*sr-2.3.3 (16 Jul 2005)
+
+ 16 Jul 2005; Maurice van der Pot <griffon26@gentoo.org> +sr-2.3.3.ebuild:
+ Added new version of sr ebuild provided by George. Modified slightly to
+ prevent file collisions and enable running tests. Closing bug #38987
+ reported by Kirill Vasiliev <redled@ornet.ru>
*sr-2.3.2 (01 Nov 2002)
diff --git a/dev-lang/sr/Manifest b/dev-lang/sr/Manifest
index 2ecf78c72e0f..1e86183925eb 100644
--- a/dev-lang/sr/Manifest
+++ b/dev-lang/sr/Manifest
@@ -1,4 +1,6 @@
-MD5 fad23da7ab1d7ee32ed53b941f31ea81 sr-2.3.2.ebuild 1129
MD5 178692c0dd2d5fe5c02be58ebea10bc2 ChangeLog 937
-MD5 2b63d8801b5cc5d60efaf7c29a3644cd files/sr-2.3.2.patch 1770
+MD5 fad23da7ab1d7ee32ed53b941f31ea81 sr-2.3.2.ebuild 1129
+MD5 d81e400f2579d77425bffc4d2824d376 sr-2.3.3.ebuild 1590
MD5 10601d63476513e991a59a35bdaf0cf8 files/digest-sr-2.3.2 54
+MD5 2b63d8801b5cc5d60efaf7c29a3644cd files/sr-2.3.2.patch 1770
+MD5 71683d7920fb0b5cfa764a24c8be3340 files/digest-sr-2.3.3 57
diff --git a/dev-lang/sr/files/digest-sr-2.3.3 b/dev-lang/sr/files/digest-sr-2.3.3
new file mode 100644
index 000000000000..097952be5d8b
--- /dev/null
+++ b/dev-lang/sr/files/digest-sr-2.3.3
@@ -0,0 +1 @@
+MD5 76260fc76b3ed970db20e5730bd5d751 sr233.tar.Z 1424566
diff --git a/dev-lang/sr/metadata.xml b/dev-lang/sr/metadata.xml
new file mode 100644
index 000000000000..074ee475cd39
--- /dev/null
+++ b/dev-lang/sr/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>lang-misc</herd>
+</pkgmetadata>
+
diff --git a/dev-lang/sr/sr-2.3.3.ebuild b/dev-lang/sr/sr-2.3.3.ebuild
new file mode 100644
index 000000000000..3151ddfd3dc9
--- /dev/null
+++ b/dev-lang/sr/sr-2.3.3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/sr/sr-2.3.3.ebuild,v 1.1 2005/07/16 12:37:18 griffon26 Exp $
+
+inherit eutils
+
+My_PV="`echo ${PV} | awk -F. '{ gsub(/_pre.*|_alpha.*/, ""); print $1 $2 $3}'`"
+DESCRIPTION="SR (Synchronizing Resources) is a language for writing concurrent programs"
+HOMEPAGE="http://www.cs.arizona.edu/sr"
+SRC_URI="ftp://ftp.cs.arizona.edu/sr/${PN}${My_PV}.tar.Z"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="virtual/ssh"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ #epatch ${FILESDIR}/${P}.patch
+ sed -i -e "s:SRSRC = /usr/local/src/sr:SRSRC = ${S}:" \
+ -e "s:/usr/local:/usr:" -e "s:/usr/X11/lib:/usr/lib:" \
+ -e "s:CCPATH = /bin/cc:CCPATH = /usr/bin/gcc:" \
+ -e "s:RSHPATH = /usr/ucb/rsh:RSHPATH = /usr/bin/ssh:" \
+ -e "s:VFPATH = /usr/lib/vfontedpr:VFPATH = :" Configuration \
+ || die "seding Configuration failed"
+}
+
+src_compile() {
+ emake || die "make failed"
+}
+
+src_test() {
+ rm -f vsuite/examples/other/mbrot/Script
+ rm -f vsuite/examples/other/remote/Script
+ rm -f vsuite/quick/vm/Script
+ srv/srv || die "At least one test failed"
+}
+
+src_install() {
+ # commands
+ dobin sr/sr
+ dobin srl/srl
+ dobin srm/srm
+ dobin srprof/srprof
+ dobin srtex/srtex
+ dobin srlatex/srlatex
+ dobin srgrind/srgrind
+ dobin preproc/*2sr
+
+ ranlib rts/srlib.a
+
+ # library components
+ insinto /usr/lib/sr
+ doins sr.h
+ doins srmulti.h
+ doins rts/srlib.a
+ doins library/*.o
+ doins library/*.spec
+ doins library/*.impl
+ doins srmap
+ doins rts/srx
+ doins srlatex/srlatex.sty
+ doins preproc/*2sr.h
+ doins sr-mode.el
+
+ doman man/*.[135]
+}
+