public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-wireless/bss: bss-0.8.ebuild bss-0.6.ebuild
@ 2010-06-11 10:23 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2010-06-11 10:23 UTC (permalink / raw
  To: gentoo-commits

ssuominen    10/06/11 10:23:05

  Modified:             bss-0.8.ebuild
  Removed:              bss-0.6.ebuild
  Log:
  Remove old, unused, that only has old bluez-libs depend and cleanup the new ebuild
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  net-wireless/bss/bss-0.8.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bss/bss-0.8.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bss/bss-0.8.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bss/bss-0.8.ebuild?r1=1.1&r2=1.2

Index: bss-0.8.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/bss/bss-0.8.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bss-0.8.ebuild	10 May 2009 10:45:53 -0000	1.1
+++ bss-0.8.ebuild	11 Jun 2010 10:23:05 -0000	1.2
@@ -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 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~ppc"
+KEYWORDS="~amd64 ~ppc ~x86"
 IUSE=""
 
-RDEPEND="|| ( net-wireless/bluez
-	net-wireless/bluez-libs )"
-DEPEND="${RDEPEND}"
-
-src_unpack() {
-	unpack ${A}
-	sed -i.orig \
-		-e 's!/local!!g' \
-		"${S}"/Makefile
+DEPEND="|| ( net-wireless/bluez net-wireless/bluez-libs )"
+
+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
 }






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-11 10:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-11 10:23 [gentoo-commits] gentoo-x86 commit in net-wireless/bss: bss-0.8.ebuild bss-0.6.ebuild Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox