diff options
author | Rick Farina <zerochaos@gentoo.org> | 2013-04-27 23:12:42 +0000 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2013-04-27 23:12:42 +0000 |
commit | 0e7befa6133228b9f563d21ba4d1af1ada48374a (patch) | |
tree | 6d609e4151e610f6037528e01523d8ff55413ea9 /net-wireless | |
parent | fix build with automake-1.13 (diff) | |
download | gentoo-2-0e7befa6133228b9f563d21ba4d1af1ada48374a.tar.gz gentoo-2-0e7befa6133228b9f563d21ba4d1af1ada48374a.tar.bz2 gentoo-2-0e7befa6133228b9f563d21ba4d1af1ada48374a.zip |
adjust subslot deps for auto-rebuild on libbtbb or libubertooth changes
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/kismet-ubertooth/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/kismet-ubertooth/kismet-ubertooth-2012.10.1-r2.ebuild | 56 |
2 files changed, 63 insertions, 1 deletions
diff --git a/net-wireless/kismet-ubertooth/ChangeLog b/net-wireless/kismet-ubertooth/ChangeLog index 0a9814e3c100..3fa96dca99d6 100644 --- a/net-wireless/kismet-ubertooth/ChangeLog +++ b/net-wireless/kismet-ubertooth/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/kismet-ubertooth # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet-ubertooth/ChangeLog,v 1.13 2013/04/25 23:48:07 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet-ubertooth/ChangeLog,v 1.14 2013/04/27 23:12:42 zerochaos Exp $ + +*kismet-ubertooth-2012.10.1-r2 (27 Apr 2013) + + 27 Apr 2013; Rick Farina <zerochaos@gentoo.org> + +kismet-ubertooth-2012.10.1-r2.ebuild: + adjust subslot deps for auto-rebuild on libbtbb or libubertooth changes *kismet-ubertooth-2012.10.1-r1 (25 Apr 2013) diff --git a/net-wireless/kismet-ubertooth/kismet-ubertooth-2012.10.1-r2.ebuild b/net-wireless/kismet-ubertooth/kismet-ubertooth-2012.10.1-r2.ebuild new file mode 100644 index 000000000000..cae026e5ea50 --- /dev/null +++ b/net-wireless/kismet-ubertooth/kismet-ubertooth-2012.10.1-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet-ubertooth/kismet-ubertooth-2012.10.1-r2.ebuild,v 1.1 2013/04/27 23:12:42 zerochaos Exp $ + +EAPI="5" + +inherit multilib + +MY_PV=${PV/\./-} +MY_PV=${MY_PV/./-R} +S="${WORKDIR}/ubertooth-${MY_PV}" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://ubertooth.git.sourceforge.net/gitroot/ubertooth/ubertooth" + SRC_URI="" + inherit git-2 + KEYWORDS="" +else + SRC_URI="mirror://sourceforge/ubertooth/ubertooth-${MY_PV}.tar.xz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="Provides basic bluetooth support in kismet" +HOMEPAGE="http://ubertooth.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0/${PV}" +IUSE="" + +DEPEND=">=net-wireless/kismet-2011.03.2-r1:= \ + >=net-wireless/ubertooth-${PV}:= \ + >=net-libs/libbtbb-${PV}:= \ + virtual/libusb:1" +RDEPEND="${DEPEND}" + +src_compile() { + if has_version =net-wireless/kismet-9999; then + cd "${S}/host/kismet/plugin-ubertooth-phyneutral" || die + else + cd "${S}/host/kismet/plugin-ubertooth" || die + fi + emake KIS_SRC_DIR="/usr/include/kismet/" +} + +src_install() { + if has_version =net-wireless/kismet-9999; then + cd "${S}/host/kismet/plugin-ubertooth-phyneutral" || die + else + cd "${S}/host/kismet/plugin-ubertooth" || die + fi + emake DESTDIR="${ED}" LIBDIR="/$(get_libdir)" KIS_SRC_DIR="/usr/include/kismet/" install +} + +pkg_postinst() { + ewarn "This package must be rebuilt every time kismet is rebuilt. Or else." +} |