summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-05-28 13:59:05 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-05-28 18:53:02 +0100
commitf44764d70b0d57a3cfea49385fa9a0d93d977b25 (patch)
tree24766e8d68ac9aa564a385aa5640bbeea3e51714 /dev-haskell/open-browser
parentdev-haskell/optparse-simple: new package, a depend of dev-haskell/stack (diff)
downloadgentoo-f44764d70b0d57a3cfea49385fa9a0d93d977b25.tar.gz
gentoo-f44764d70b0d57a3cfea49385fa9a0d93d977b25.tar.bz2
gentoo-f44764d70b0d57a3cfea49385fa9a0d93d977b25.zip
dev-haskell/open-browser: new package, a depend of dev-haskell/stack
Open a web browser from Haskell Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-haskell/open-browser')
-rw-r--r--dev-haskell/open-browser/Manifest1
-rw-r--r--dev-haskell/open-browser/metadata.xml12
-rw-r--r--dev-haskell/open-browser/open-browser-0.2.1.0-r1.ebuild31
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-haskell/open-browser/Manifest b/dev-haskell/open-browser/Manifest
new file mode 100644
index 000000000000..f7c04c4dee85
--- /dev/null
+++ b/dev-haskell/open-browser/Manifest
@@ -0,0 +1 @@
+DIST open-browser-0.2.1.0.tar.gz 2629 SHA256 0bed2e63800f738e78a4803ed22902accb50ac02068b96c17ce83a267244ca66 SHA512 94ba71597c270b518742534b1b9b9a7ca0ede2eeb08a030b03cca6dbe6e5a2de363dc443bae907ca5c90b126aeb7dc5f5dd1eada95ca78a0ba1a8d472df4ada1 WHIRLPOOL 0a05e08e9a9129783c138dc49f48764d80c34d4a0eb470f3df4e86c10bfa756f247ef06736bdac35eadbcb3a61d36418b36bc6753d36b482ed83f2d4b6775137
diff --git a/dev-haskell/open-browser/metadata.xml b/dev-haskell/open-browser/metadata.xml
new file mode 100644
index 000000000000..59f5d334b5e5
--- /dev/null
+++ b/dev-haskell/open-browser/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ Open a web browser from Haskell.
+ Currently BSD, Linux, OS X and Windows are supported.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/open-browser/open-browser-0.2.1.0-r1.ebuild b/dev-haskell/open-browser/open-browser-0.2.1.0-r1.ebuild
new file mode 100644
index 000000000000..dca61ae014c1
--- /dev/null
+++ b/dev-haskell/open-browser/open-browser-0.2.1.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Open a web browser from Haskell"
+HOMEPAGE="https://github.com/rightfold/open-browser"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+"
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'executable example' 'executable open-browser-example'
+}