mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-29 02:01:46 +02:00
btscanner: I hate when I miss an svn add
This commit is contained in:
parent
bf0b747d82
commit
16949f1c14
1 changed files with 39 additions and 0 deletions
39
net-wireless/btscanner/btscanner-2.1-r4.ebuild
Normal file
39
net-wireless/btscanner/btscanner-2.1-r4.ebuild
Normal file
|
|
@ -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
|
||||
}
|
||||
Loading…
Reference in a new issue