summaryrefslogtreecommitdiff
path: root/net-wireless/btscanner
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/btscanner')
-rw-r--r--net-wireless/btscanner/Manifest2
-rw-r--r--net-wireless/btscanner/btscanner-2.1-r4.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/net-wireless/btscanner/Manifest b/net-wireless/btscanner/Manifest
new file mode 100644
index 00000000..d6d07338
--- /dev/null
+++ b/net-wireless/btscanner/Manifest
@@ -0,0 +1,2 @@
+DIST btscanner-2.1.tar.bz2 442492 RMD160 ada5323aae528a017215c38ea5dd08ddeddc1b55 SHA1 9396bc977ea9b33ebf4f699628f0cdd66688529d SHA256 7fc6e81dc64bdfe8bbca23aea9cd74d7be5a29210ef9620704c180b1a0f929d0
+EBUILD btscanner-2.1-r4.ebuild 1101 RMD160 925515eeabdfe5842af83baeb4f6d50c22e87aa3 SHA1 c97a1f467127c07a3b1c335ab1996a69e43c3c8c SHA256 79c9298d2e0ec4baf854f5d3828030a91bbf3dc1a7481b6a40fadd53e3d8da1d
diff --git a/net-wireless/btscanner/btscanner-2.1-r4.ebuild b/net-wireless/btscanner/btscanner-2.1-r4.ebuild
new file mode 100644
index 00000000..d2abb5ad
--- /dev/null
+++ b/net-wireless/btscanner/btscanner-2.1-r4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /root/portage/net-wireless/btscanner/btscanner-2.1.ebuild,v 1.1.1.1 2006/03/09 22:54:57 grimmlin Exp $
+
+EAPI=4
+
+inherit eutils autotools
+
+DESCRIPTION="A utility for bluetooth scanning and discovery"
+HOMEPAGE="http://www.pentest.co.uk/cgi-bin/viewcat.cgi?cat=downloads"
+SRC_URI="http://www.pentest.co.uk/src/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=" || ( net-wireless/bluez
+ ( >=net-wireless/bluez-utils-2.15
+ >=net-wireless/bluez-libs-2.15 ) )
+ >=dev-libs/libxml2-2.6
+ >sys-libs/ncurses-5.4"
+
+src_prepare() {
+ sed -i -e 's/-Wimplicit-function-dec //g' configure.in
+ sed -i 's#-std=c99#-std=gnu99#g' configure.in
+ eautoreconf
+ sed -i -e '/dtd/ s:/usr/local/:/:' -e '/oui/ s:local/share:share/btscanner:' btscanner.xml
+}
+src_configure() {
+ econf --datadir="/usr/share/btscanner"
+}
+src_compile() {
+ emake || die "emake failed"
+}
+src_install() {
+ einstall datadir="${D}/usr/share/btscanner"
+ dodoc AUTHORS ChangeLog README NEWS TODO USAGE
+}