summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Todaro <solpeth@posteo.org>2020-07-30 09:05:23 +1000
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-01 09:01:22 +0100
commit30f5d24cec07e61752cd1f2367193cb41af813d0 (patch)
tree1cf0ba517311640baf22d57ab330942059cde097 /dev-haskell/netlink
parentdev-haskell/dbus: bump up to 1.2.16 (diff)
downloadgentoo-30f5d24cec07e61752cd1f2367193cb41af813d0.tar.gz
gentoo-30f5d24cec07e61752cd1f2367193cb41af813d0.tar.bz2
gentoo-30f5d24cec07e61752cd1f2367193cb41af813d0.zip
dev-haskell/netlink: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/netlink')
-rw-r--r--dev-haskell/netlink/Manifest1
-rw-r--r--dev-haskell/netlink/metadata.xml11
-rw-r--r--dev-haskell/netlink/netlink-1.1.1.0.ebuild34
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-haskell/netlink/Manifest b/dev-haskell/netlink/Manifest
new file mode 100644
index 000000000000..7f2443252f3c
--- /dev/null
+++ b/dev-haskell/netlink/Manifest
@@ -0,0 +1 @@
+DIST netlink-1.1.1.0.tar.gz 49444 BLAKE2B 620cf5a4b52f86d9410534d5ed0f4ede40961e976e811c0e2f07c46c95b1ceb1452b9b19cdf4f9da9dfd60166fc7899550b060569dea956feadd6c1293c20f6e SHA512 2bb3d3c1a86e2de61e18a50366d9ecfa863df4959533db5ab3b127b4e02853cf4295ce7519a8ba7bbee9af0534c510aae99c567a5b23e8587e8e56113f530da3
diff --git a/dev-haskell/netlink/metadata.xml b/dev-haskell/netlink/metadata.xml
new file mode 100644
index 000000000000..c32804186997
--- /dev/null
+++ b/dev-haskell/netlink/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <use>
+ <flag name='generators'>build the generator scripts for constants</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-haskell/netlink/netlink-1.1.1.0.ebuild b/dev-haskell/netlink/netlink-1.1.1.0.ebuild
new file mode 100644
index 000000000000..53e93b7bd2f0
--- /dev/null
+++ b/dev-haskell/netlink/netlink-1.1.1.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.6
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Netlink communication for Haskell"
+HOMEPAGE="https://github.com/Ongy/netlink-hs"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="generators"
+
+RDEPEND=">=dev-haskell/cereal-0.3:=[profile?]
+ >=dev-haskell/monad-loops-0.3:=[profile?]
+ dev-haskell/pretty-hex:=[profile?]
+ >=dev-lang/ghc-7.6.1:=
+ generators? ( <dev-haskell/language-c-0.7:=[profile?]
+ dev-haskell/regex-pcre:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag generators generators)
+}