diff options
Diffstat (limited to 'dev-util/ostree/ostree-2018.5.ebuild')
-rw-r--r-- | dev-util/ostree/ostree-2018.5.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/ostree/ostree-2018.5.ebuild b/dev-util/ostree/ostree-2018.5.ebuild new file mode 100644 index 000000000000..40ad547229e2 --- /dev/null +++ b/dev-util/ostree/ostree-2018.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Operating system and container binary deployment and upgrades" +HOMEPAGE="https://ostree.readthedocs.io/en/latest/" +SRC_URI="https://github.com/ostreedev/${PN}/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="grub selinux soup systemd zeroconf" +RESTRICT="test" + +S="${WORKDIR}/lib${P}" +COMMON_DEPEND=" + app-arch/libarchive:= + app-arch/xz-utils:= + app-crypt/gpgme:= + dev-libs/glib:= + dev-libs/libassuan:= + dev-libs/libgpg-error:= + dev-libs/openssl:= + net-misc/curl:= + sys-apps/util-linux:= + sys-fs/fuse:= + sys-libs/zlib:= + + grub? ( sys-boot/grub:* ) + selinux? ( sys-libs/libselinux:= ) + soup? ( net-libs/libsoup:= ) + systemd? ( sys-apps/systemd:= ) + zeroconf? ( net-dns/avahi:* ) +" +DEPEND=" + ${COMMON_DEPEND} + sys-devel/bison + sys-devel/flex +" +RDEPEND="${COMMON_DEPEND}" + +src_configure() { + econf \ + --with-crypto=openssl \ + --with-curl \ + --with-openssl \ + $(use_with soup) \ + $(use_with selinux ) \ + $(use_with zeroconf avahi) +} |