summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-08-31 14:58:04 +0200
committerJeroen Roovers <jer@gentoo.org>2016-08-31 15:01:44 +0200
commit65af95dc8450cf07c64e2b5f9de34089d0295c32 (patch)
treec116bfeb2d1f6f6c01b892b8103a7df21d36fef3 /net-libs/wandio
parentnet-analyzer/icinga2: bup (diff)
downloadgentoo-65af95dc8450cf07c64e2b5f9de34089d0295c32.tar.gz
gentoo-65af95dc8450cf07c64e2b5f9de34089d0295c32.tar.bz2
gentoo-65af95dc8450cf07c64e2b5f9de34089d0295c32.zip
net-libs/wandio: Initial commit (bug #592574).
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-libs/wandio')
-rw-r--r--net-libs/wandio/Manifest1
-rw-r--r--net-libs/wandio/metadata.xml10
-rw-r--r--net-libs/wandio/wandio-1.0.3.ebuild35
3 files changed, 46 insertions, 0 deletions
diff --git a/net-libs/wandio/Manifest b/net-libs/wandio/Manifest
new file mode 100644
index 000000000000..916f005a4504
--- /dev/null
+++ b/net-libs/wandio/Manifest
@@ -0,0 +1 @@
+DIST wandio-1.0.3.tar.gz 373723 SHA256 31dcc1402ace3023020446d6c7284fd84447f9b36e570206a179895e1eaa705b SHA512 fb86d022149d839e49805a35c9f5ada0b0bdf1174287d03c823145fbb0b3a5b3d7d78b5bfbf511da73cb06a22650f9a2d5cfd143dfa5b29eacdac1870977081c WHIRLPOOL 843ff98d2407897da9d20feb84287323b7aa2ac09ff23d5d7f4626e48321f7b6ee2fdfda4753bf16296ccf75c9dd5967c5c0c3fde8f62f1f73324980f5534e73
diff --git a/net-libs/wandio/metadata.xml b/net-libs/wandio/metadata.xml
new file mode 100644
index 000000000000..5cf4e8226272
--- /dev/null
+++ b/net-libs/wandio/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+<email>netmon@gentoo.org</email>
+</maintainer>
+<use>
+<flag name='http'>Build support for reading files over HTTP using <pkg>net-misc/curl</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/net-libs/wandio/wandio-1.0.3.ebuild b/net-libs/wandio/wandio-1.0.3.ebuild
new file mode 100644
index 000000000000..93ee50e43c5e
--- /dev/null
+++ b/net-libs/wandio/wandio-1.0.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Library for transparent file I/O with compression"
+HOMEPAGE="http://research.wand.net.nz/software/libwandio.php"
+SRC_URI="http://research.wand.net.nz/software/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/2"
+KEYWORDS="~amd64 ~x86"
+IUSE="bzip2 http lzma lzo static-libs zlib"
+
+RDEPEND="
+ bzip2? ( app-arch/bzip2 )
+ lzma? ( app-arch/xz-utils )
+ lzo? ( dev-libs/lzo )
+ http? ( net-misc/curl )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with bzip2) \
+ $(use_with http) \
+ $(use_with lzma) \
+ $(use_with lzo) \
+ $(use_with zlib)
+}