summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2016-01-14 14:37:23 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2016-01-14 14:37:38 +0100
commit3ea8f68b92b5b115adb9b60a92e6e682cf82101d (patch)
tree238ea9c94e984a98978f0209630f9bea4be231ea /dev-libs/libfilezilla
parentdev-games/tiled: version bump (diff)
downloadgentoo-3ea8f68b92b5b115adb9b60a92e6e682cf82101d.tar.gz
gentoo-3ea8f68b92b5b115adb9b60a92e6e682cf82101d.tar.bz2
gentoo-3ea8f68b92b5b115adb9b60a92e6e682cf82101d.zip
dev-libs/libfilezilla: initial commit
This is a new dependency for >=net-ftp/filezilla-3.15.0 Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-libs/libfilezilla')
-rw-r--r--dev-libs/libfilezilla/Manifest1
-rw-r--r--dev-libs/libfilezilla/libfilezilla-0.3.0.ebuild30
-rw-r--r--dev-libs/libfilezilla/metadata.xml17
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest
new file mode 100644
index 000000000000..aae57c44861b
--- /dev/null
+++ b/dev-libs/libfilezilla/Manifest
@@ -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
index 000000000000..25ecdfc87b7e
--- /dev/null
+++ b/dev-libs/libfilezilla/libfilezilla-0.3.0.ebuild
@@ -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
index 000000000000..f91898787f59
--- /dev/null
+++ b/dev-libs/libfilezilla/metadata.xml
@@ -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>