summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-11 10:23:05 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-11 10:23:05 +0000
commit7a0362d0cfa53da194af3ef8bdafb33008de6b72 (patch)
tree07257d34fa9d262dad8770dcd09ac3341a539cef /net-wireless/bss/bss-0.8.ebuild
parentVersion bump with lots of bugfixes over 0.23. (diff)
downloadgentoo-2-7a0362d0cfa53da194af3ef8bdafb33008de6b72.tar.gz
gentoo-2-7a0362d0cfa53da194af3ef8bdafb33008de6b72.tar.bz2
gentoo-2-7a0362d0cfa53da194af3ef8bdafb33008de6b72.zip
Remove old, unused, that only has old bluez-libs depend and cleanup the new ebuild
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/bss/bss-0.8.ebuild')
-rw-r--r--net-wireless/bss/bss-0.8.ebuild29
1 files changed, 14 insertions, 15 deletions
diff --git a/net-wireless/bss/bss-0.8.ebuild b/net-wireless/bss/bss-0.8.ebuild
index 531d5f803242..145d2a8c3d85 100644
--- a/net-wireless/bss/bss-0.8.ebuild
+++ b/net-wireless/bss/bss-0.8.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bss/bss-0.8.ebuild,v 1.1 2009/05/10 10:45:53 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bss/bss-0.8.ebuild,v 1.2 2010/06/11 10:23:05 ssuominen Exp $
+EAPI=2
inherit toolchain-funcs
DESCRIPTION="Bluetooth stack smasher / fuzzer"
@@ -10,26 +11,24 @@ SRC_URI="http://securitech.homeunix.org/blue/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~ppc"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-RDEPEND="|| ( net-wireless/bluez
- net-wireless/bluez-libs )"
-DEPEND="${RDEPEND}"
+DEPEND="|| ( net-wireless/bluez net-wireless/bluez-libs )"
-src_unpack() {
- unpack ${A}
- sed -i.orig \
- -e 's!/local!!g' \
- "${S}"/Makefile
+src_prepare() {
+ sed -i -e 's:/local::' Makefile || die
}
src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" BSS_FLAGS="${LDFLAGS}" || die "emake failed"
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ BSS_FLAGS="${LDFLAGS}" || die
}
src_install() {
- dosbin bss
- dodoc AUTHOR BUGS CHANGELOG CONTRIB NOTES README TODO
- dodoc "${S}"/replay_packet/replay_l2cap_packet.c
+ dosbin bss || die
+ dodoc AUTHOR BUGS CHANGELOG CONTRIB NOTES README TODO \
+ replay_packet/replay_l2cap_packet.c
}