net-libs/wandio: Initial commit (bug #592574).
authorJeroen Roovers <jer@gentoo.org>
Wed, 31 Aug 2016 12:58:04 +0000 (14:58 +0200)
committerJeroen Roovers <jer@gentoo.org>
Wed, 31 Aug 2016 13:01:44 +0000 (15:01 +0200)
Package-Manager: portage-2.3.0

net-libs/wandio/Manifest [new file with mode: 0644]
net-libs/wandio/metadata.xml [new file with mode: 0644]
net-libs/wandio/wandio-1.0.3.ebuild [new file with mode: 0644]

diff --git a/net-libs/wandio/Manifest b/net-libs/wandio/Manifest
new file mode 100644 (file)
index 0000000..916f005
--- /dev/null
@@ -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 (file)
index 0000000..5cf4e82
--- /dev/null
@@ -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 (file)
index 0000000..93ee50e
--- /dev/null
@@ -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)
+}