summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Francisco Araujo <araujo@gentoo.org>2005-05-08 22:22:06 +0000
committerLuis Francisco Araujo <araujo@gentoo.org>2005-05-08 22:22:06 +0000
commit79483b3afa1c8f0f452c3840c7fe83e2dfc54246 (patch)
tree7999bf4238c852ee326acbdf5557c581f79e3579 /dev-haskell
parenthsshellscript 2.6.0 masked (diff)
downloadhistorical-79483b3afa1c8f0f452c3840c7fe83e2dfc54246.tar.gz
historical-79483b3afa1c8f0f452c3840c7fe83e2dfc54246.tar.bz2
historical-79483b3afa1c8f0f452c3840c7fe83e2dfc54246.zip
Added new hsshellscript release. First version in the tree that works with ghc6.4
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/hsshellscript/ChangeLog8
-rw-r--r--dev-haskell/hsshellscript/Manifest12
-rw-r--r--dev-haskell/hsshellscript/files/digest-hsshellscript-2.6.01
-rw-r--r--dev-haskell/hsshellscript/hsshellscript-2.6.0.ebuild46
4 files changed, 61 insertions, 6 deletions
diff --git a/dev-haskell/hsshellscript/ChangeLog b/dev-haskell/hsshellscript/ChangeLog
index 9ffbe982a3e5..275e70cee5c4 100644
--- a/dev-haskell/hsshellscript/ChangeLog
+++ b/dev-haskell/hsshellscript/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-haskell/hsshellscript
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsshellscript/ChangeLog,v 1.6 2005/04/08 01:33:00 araujo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsshellscript/ChangeLog,v 1.7 2005/05/08 22:22:06 araujo Exp $
+
+*hsshellscript-2.6.0 (08 May 2005)
+
+ 08 May 2005; Luis F. Araujo <araujo@gentoo.org>
+ +hsshellscript-2.6.0.ebuild:
+ Added new hsshellscript version. This version only works for >= ghc6.4
*hsshellscript-2.3.0 (07 Apr 2005)
diff --git a/dev-haskell/hsshellscript/Manifest b/dev-haskell/hsshellscript/Manifest
index 423b936c99c8..5587a28ef3ca 100644
--- a/dev-haskell/hsshellscript/Manifest
+++ b/dev-haskell/hsshellscript/Manifest
@@ -1,20 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 ccb1cb05bb8d94b568d70b1eb09c231b ChangeLog 1072
+MD5 b868f3e2f60d94a83e392eb8b9f8e09f ChangeLog 1263
MD5 7d6203f46f91795c95ca6a22ee6dff5a hsshellscript-2.1.0.ebuild 1239
MD5 3f6e26f4a44d1b5c6ff6380d989e6af6 metadata.xml 222
MD5 644451fe973c437cf97d3a24a46e07e1 hsshellscript-2.2.0.ebuild 1120
MD5 342a987a2862d37266ce8637603dd0b1 hsshellscript-2.2.2.ebuild 1073
MD5 a803e58a525a9589fd00076e531d644a hsshellscript-2.3.0.ebuild 1073
+MD5 c9d8872752f437db8832460ece2f90b0 hsshellscript-2.6.0.ebuild 1243
MD5 29b043a8133ca29f855bd09a4ce05033 files/digest-hsshellscript-2.1.0 71
MD5 c16f03216f6b47b89224ab176c13aa21 files/digest-hsshellscript-2.2.0 71
MD5 7ae622841800669416a46ccab3d9a9b0 files/digest-hsshellscript-2.2.2 71
MD5 e99cbf0bf1d4793de8d69765d43ded70 files/digest-hsshellscript-2.3.0 72
+MD5 669d010e1fd7c5bb71478b2efb700fff files/digest-hsshellscript-2.6.0 71
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
+Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFCVd93BQBy/eDH5uERAvPsAKDQXwJF/VP2QsDoCiNtxKFk0wQdHACeLCj5
-PwnXt5vZO3cBzpDOyNDbvgI=
-=Kdjr
+iD8DBQFCfpFABQBy/eDH5uERAkX2AJ9ZE8/S5Gn1Yml9FxmIvDTpyMuv+QCgykjw
+vogLj02wIz1hGl/NSQQ+hMQ=
+=8Jyu
-----END PGP SIGNATURE-----
diff --git a/dev-haskell/hsshellscript/files/digest-hsshellscript-2.6.0 b/dev-haskell/hsshellscript/files/digest-hsshellscript-2.6.0
new file mode 100644
index 000000000000..a2630a20b761
--- /dev/null
+++ b/dev-haskell/hsshellscript/files/digest-hsshellscript-2.6.0
@@ -0,0 +1 @@
+MD5 d925c486757c67237cd9eb83a733ab12 hsshellscript-2.6.0.tar.gz 148256
diff --git a/dev-haskell/hsshellscript/hsshellscript-2.6.0.ebuild b/dev-haskell/hsshellscript/hsshellscript-2.6.0.ebuild
new file mode 100644
index 000000000000..f7d8d7f8197d
--- /dev/null
+++ b/dev-haskell/hsshellscript/hsshellscript-2.6.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsshellscript/hsshellscript-2.6.0.ebuild,v 1.1 2005/05/08 22:22:06 araujo Exp $
+
+inherit base eutils ghc-package
+
+DESCRIPTION="A Haskell library for UNIX shell scripting tasks"
+HOMEPAGE="http://www.volker-wysk.de/hsshellscript/"
+SRC_URI="http://www.volker-wysk.de/hsshellscript/dist/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="=virtual/ghc-6.4
+ >=dev-haskell/haddock-0.6"
+RDEPEND=""
+
+src_unpack() {
+ base_src_unpack
+ cd ${S}
+ sed -i -e "/ghc-pkg/d" Makefile
+}
+
+src_compile() {
+ # Fix hsshellscript.cabal library path
+ sed -i "s:@DEST_LIB:$(ghc-libdir):" \
+ ${S}/lib/hsshellscript.cabal
+ sed -i "s:@DEST_IMPORTS:$(ghc-libdir)/imports:" \
+ ${S}/lib/hsshellscript.cabal
+ emake || die "emake failed"
+}
+
+src_install() {
+ # we register the .cabal file generated by make
+ ghc-setup-pkg ${S}/build/hsshellscript.cabal
+ make install \
+ DESTDIR="${D}" \
+ DEST_LIB="$(ghc-libdir)" \
+ DEST_IMPORTS="$(ghc-libdir)/imports" \
+ DEST_DOC="/usr/share/doc/${PF}" \
+ || die "make failed"
+ ghc-makeghcilib ${D}/$(ghc-libdir)/libhsshellscript.a
+ ghc-install-pkg
+}