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
commit0428f5e4be0b816a94945efd99f9cc42608066cb (patch)
treefe2091df4ae32811b611bd3160b25f973aac8ae3 /dev-haskell/hsshellscript
parentstable on ia64 (diff)
downloadgentoo-2-0428f5e4be0b816a94945efd99f9cc42608066cb.tar.gz
gentoo-2-0428f5e4be0b816a94945efd99f9cc42608066cb.tar.bz2
gentoo-2-0428f5e4be0b816a94945efd99f9cc42608066cb.zip
Added new hsshellscript release. First version in the tree that works with ghc6.4
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-haskell/hsshellscript')
-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, 56 insertions, 11 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..4e8d475242ff 100644
--- a/dev-haskell/hsshellscript/Manifest
+++ b/dev-haskell/hsshellscript/Manifest
@@ -1,20 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 ccb1cb05bb8d94b568d70b1eb09c231b ChangeLog 1072
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 9ccffa9e562617742ebd9ad86eae21f3 hsshellscript-2.6.0.ebuild 1244
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
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFCVd93BQBy/eDH5uERAvPsAKDQXwJF/VP2QsDoCiNtxKFk0wQdHACeLCj5
-PwnXt5vZO3cBzpDOyNDbvgI=
-=Kdjr
------END PGP SIGNATURE-----
+MD5 669d010e1fd7c5bb71478b2efb700fff files/digest-hsshellscript-2.6.0 71
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
+}