net-libs/biblesync: Add static useflag wrt bug 623808
authorChris Reffett <creffett@gentoo.org>
Wed, 5 Jul 2017 01:24:47 +0000 (21:24 -0400)
committerChris Reffett <creffett@gentoo.org>
Wed, 5 Jul 2017 01:24:47 +0000 (21:24 -0400)
Gentoo-Bug: 623808
Package-Manager: Portage-2.3.6, Repoman-2.3.2

net-libs/biblesync/biblesync-1.1.2-r1.ebuild [new file with mode: 0644]

diff --git a/net-libs/biblesync/biblesync-1.1.2-r1.ebuild b/net-libs/biblesync/biblesync-1.1.2-r1.ebuild
new file mode 100644 (file)
index 0000000..8a9ea54
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils
+
+DESCRIPTION="A multicast protocol to support Bible software shared co-navigation"
+HOMEPAGE="http://www.crosswire.org/wiki/BibleSync"
+SRC_URI="mirror://sourceforge/gnomesword/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="static"
+
+DEPEND="dev-util/cmake"
+RDEPEND=""
+
+src_configure() {
+       local mycmakeargs=(
+               "-DBUILD_SHARED_LIBS=$(usex !static)"
+       )
+       cmake-utils_src_configure
+}