net-wireless/crackle: add live ebuild for testing next release
authorZero_Chaos <zerochaos@gentoo.org>
Mon, 7 Nov 2016 16:08:36 +0000 (11:08 -0500)
committerZero_Chaos <zerochaos@gentoo.org>
Mon, 7 Nov 2016 16:09:15 +0000 (11:09 -0500)
Package-Manager: portage-2.3.2

net-wireless/crackle/crackle-9999.ebuild [new file with mode: 0644]

diff --git a/net-wireless/crackle/crackle-9999.ebuild b/net-wireless/crackle/crackle-9999.ebuild
new file mode 100644 (file)
index 0000000..65b8d93
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Crackle cracks BLE Encryption (AKA Bluetooth Smart)"
+HOMEPAGE="http://lacklustre.net/projects/crackle/"
+
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://github.com/mikeryan/crackle.git"
+       inherit git-r3
+       KEYWORDS=""
+else
+       SRC_URI="http://lacklustre.net/projects/crackle/${P}.tgz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="net-libs/libpcap"
+DEPEND="${RDEPEND}
+               test? ( dev-lang/perl )"
+
+src_install() {
+       DESTDIR="${ED}" PREFIX=/usr emake install
+}