diff options
-rw-r--r-- | net-misc/casync/Manifest | 1 | ||||
-rw-r--r-- | net-misc/casync/casync-2_p20180321.ebuild | 41 | ||||
-rw-r--r-- | net-misc/casync/metadata.xml | 15 |
3 files changed, 57 insertions, 0 deletions
diff --git a/net-misc/casync/Manifest b/net-misc/casync/Manifest new file mode 100644 index 000000000000..2e0f88aa1868 --- /dev/null +++ b/net-misc/casync/Manifest @@ -0,0 +1 @@ +DIST casync-2_p20180321.tar.gz 1306314 BLAKE2B 9fa9238a9677ede6a218c27929f0990fe26ad0afeeb2f736a6a665d301bde6c016e6fc0f3120266707d3c12cd765667f8a8cd231bb49b5cf8bedfc4ab812b481 SHA512 c8fd61e56dc3e0aec02656e28f8cec8d873498635bdaf96c0576ab3867a0e2ef0fb69206f3a476b0515a284ba35a2d746985056e522f5d396e35bc13fd81ae58 diff --git a/net-misc/casync/casync-2_p20180321.ebuild b/net-misc/casync/casync-2_p20180321.ebuild new file mode 100644 index 000000000000..6303ac8dee3e --- /dev/null +++ b/net-misc/casync/casync-2_p20180321.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit vcs-snapshot meson + +COMMIT="a755da21d3ba5d9cbb002dfc86a3ab0d46b82176" +DESCRIPTION=" Content-Addressable Data Synchronization Tool" +HOMEPAGE="https://github.com/systemd/casync" +SRC_URI="https://github.com/systemd/casync/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+fuse +udev man selinux test" + +RDEPEND=" + fuse? ( sys-fs/fuse:0 ) + selinux? ( sys-libs/libselinux ) + udev? ( virtual/libudev ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + man? ( dev-python/sphinx ) +" + +src_configure() { + local emesonargs=( + -Dfuse="$(usex fuse true false)" + -Dman="$(usex man true false)" + -Dselinux="$(usex selinux true false)" + -Dtests="$(usex test true false)" + -Dudev="$(usex udev true false)" + ) + meson_src_configure +} + +src_install() { + meson_src_install + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} diff --git a/net-misc/casync/metadata.xml b/net-misc/casync/metadata.xml new file mode 100644 index 000000000000..b5956467d232 --- /dev/null +++ b/net-misc/casync/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> + <use> + <flag name="fuse">Enable fuse support</flag> + <flag name="man">Build and install man pages</flag> + </use> + <upstream> + <remote-id type="github">systemd/casync</remote-id> + </upstream> +</pkgmetadata> |