dev-libs/libfilezilla: initial commit
authorBernard Cafarelli <voyageur@gentoo.org>
Thu, 14 Jan 2016 13:37:23 +0000 (14:37 +0100)
committerBernard Cafarelli <voyageur@gentoo.org>
Thu, 14 Jan 2016 13:37:38 +0000 (14:37 +0100)
This is a new dependency for >=net-ftp/filezilla-3.15.0

Package-Manager: portage-2.2.26

dev-libs/libfilezilla/Manifest [new file with mode: 0644]
dev-libs/libfilezilla/libfilezilla-0.3.0.ebuild [new file with mode: 0644]
dev-libs/libfilezilla/metadata.xml [new file with mode: 0644]

diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest
new file mode 100644 (file)
index 0000000..aae57c4
--- /dev/null
@@ -0,0 +1 @@
+DIST libfilezilla-0.3.0.tar.bz2 372588 SHA256 1ca09836fc166f21cedb71a45e5efc0771650a74d9f611d1fe320f36b53fa42d SHA512 c243cf32bddcee2ce568c08e81deebe7335e6b7f793751972d1b4f7629e3cd70113489c6cbc48c41a9ad0632eb5b7d3cb8ab470d591419b19563dcb9dab3a0dd WHIRLPOOL 66cc027349d31656c885b1063eff482b5a3077fbbd9dbb6e7c03a4880cc654574a8d010ff906ddcd057fef0a440c2093c6627ac7972c9b552b950302e7befae5
diff --git a/dev-libs/libfilezilla/libfilezilla-0.3.0.ebuild b/dev-libs/libfilezilla/libfilezilla-0.3.0.ebuild
new file mode 100644 (file)
index 0000000..25ecdfc
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit flag-o-matic
+
+DESCRIPTION="C++ library offering some basic functionality for platform-independent programs"
+HOMEPAGE="https://lib.filezilla-project.org/"
+SRC_URI="mirror://sourceforge/filezilla/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       test? ( dev-util/cppunit )"
+
+pkg_pretend() {
+       if [[ ${MERGE_TYPE} != binary ]]; then
+               if ! test-flag-CXX -std=c++14; then
+                       eerror "${P} requires C++14-capable C++ compiler. Your current compiler"
+                       eerror "does not seem to support -std=c++14 option. Please upgrade your compiler"
+                       eerror "to gcc-4.9 or an equivalent version supporting C++14."
+                       die "Currently active compiler does not support -std=c++14"
+               fi
+       fi
+}
diff --git a/dev-libs/libfilezilla/metadata.xml b/dev-libs/libfilezilla/metadata.xml
new file mode 100644 (file)
index 0000000..f918987
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer>
+               <email>voyageur@gentoo.org</email>
+               <name>Bernard Cafarelli</name>
+       </maintainer>
+       <longdescription>
+libfilezilla is a small and modern C++ library, offering some basic functionality to build high-performing, platform-independent programs. Some of the highlights include:
+
+- A typesafe, multi-threaded event system that's very simple to use yet extremely efficient
+- Timers for periodic events
+- A datetime class that not only tracks timestamp but also their accuracy, which simplifies dealing with timestamps originating from different sources
+- Simple process handling for spawning child processes with redirected I/O
+libfilezilla is a cross-platform library for all major operating systems, including but not limited to Linux, *BSD, OS X and Windows.
+</longdescription>
+</pkgmetadata>