summaryrefslogtreecommitdiff
path: root/dev-haskell/sendfile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/sendfile
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/sendfile')
-rw-r--r--dev-haskell/sendfile/Manifest3
-rw-r--r--dev-haskell/sendfile/metadata.xml16
-rw-r--r--dev-haskell/sendfile/sendfile-0.7.9.ebuild28
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-haskell/sendfile/Manifest b/dev-haskell/sendfile/Manifest
new file mode 100644
index 000000000000..f2a5af0af4fc
--- /dev/null
+++ b/dev-haskell/sendfile/Manifest
@@ -0,0 +1,3 @@
+DIST sendfile-0.7.9.tar.gz 10656 BLAKE2B dd6092d6343037d413d162266545607844bb05a6a2abd810f1369bb06f9f15e8b6ee3690af85d5b5d9195f47f2b144a60a99b84c3bd1fd9aaa244d00cfbe41a7 SHA512 a7ba2e82c30b12e5b7f317e2f5cc31c32cb7f682403c3807afc15254d86c3ebb526a645234d191d5b43adc414704caa4cdf61e8083e0a3d53e1af676619f731e
+EBUILD sendfile-0.7.9.ebuild 669 BLAKE2B 4032b3ccf3bf627d0b34cbb6f9fad915e77a0b5edcc02eb26f8ff3a865f2a93a7a764dcffb98bd2abe0a0f89b202b95583fdf203ac382613718e4325b22c1e80 SHA512 4826c3bff30dd00b26c36a6204e18d9bf561bf3fd7f7d3bdcbcffd6a605096c64591185af1a58e3cf02f059c8f95c9a170cc59d5304b7d166b5965c443391d84
+MISC metadata.xml 733 BLAKE2B ade73c9cfdc6e9058b3d831ab81a74d6b28959165fb76a05ff406a1062bc49cd429f801d4239c6b3b213aa60fa734207cb0620ebb4bb44ed5bd806b06c61ecb6 SHA512 7a33c152ebfa91372934b19699819b41bf58ba7738fd8757d63861cd9e08da6a42de506f3d8f225167c6c9ab9aba294fca59a9080ef7657954748ba09fea16bb
diff --git a/dev-haskell/sendfile/metadata.xml b/dev-haskell/sendfile/metadata.xml
new file mode 100644
index 000000000000..a9df43fb18bf
--- /dev/null
+++ b/dev-haskell/sendfile/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+ A library which exposes zero-copy sendfile functionality in a portable way. If a platform does not support sendfile, a fallback implementation in haskell is provided.
+
+ Currently supported platforms: Windows 2000+ (Native), Linux 2.6+ (Native), FreeBSD (Native), OS-X 10.5+ (Native), Everything else (Portable Haskell code).
+ </longdescription>
+ <use>
+ <flag name="portable">Explicitly enable portable sendfile support (implemented in Haskell)</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-haskell/sendfile/sendfile-0.7.9.ebuild b/dev-haskell/sendfile/sendfile-0.7.9.ebuild
new file mode 100644
index 000000000000..983e0140d6bf
--- /dev/null
+++ b/dev-haskell/sendfile/sendfile-0.7.9.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="A portable sendfile library"
+HOMEPAGE="https://hub.darcs.net/stepcut/sendfile"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="portable"
+
+RDEPEND="=dev-haskell/network-2*:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag portable portable)
+}