From 96b0ec6be9e13f659036759457a18e87e38b6694 Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Tue, 30 Oct 2012 17:07:09 +0000 Subject: version bump with 32 bit fixes (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key DD11F94A) --- net-libs/libbtbb/ChangeLog | 7 +++- net-libs/libbtbb/libbtbb-2012.10.3.ebuild | 60 +++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 net-libs/libbtbb/libbtbb-2012.10.3.ebuild (limited to 'net-libs/libbtbb') diff --git a/net-libs/libbtbb/ChangeLog b/net-libs/libbtbb/ChangeLog index cbc9c753ac22..2ba7dd3dd822 100644 --- a/net-libs/libbtbb/ChangeLog +++ b/net-libs/libbtbb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/libbtbb # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libbtbb/ChangeLog,v 1.9 2012/10/08 19:09:35 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libbtbb/ChangeLog,v 1.10 2012/10/30 17:07:09 zerochaos Exp $ + +*libbtbb-2012.10.3 (30 Oct 2012) + + 30 Oct 2012; Rick Farina +libbtbb-2012.10.3.ebuild: + version bump with 32 bit fixes 08 Oct 2012; Rick Farina libbtbb-9999.ebuild: fixing live ebuild to match release diff --git a/net-libs/libbtbb/libbtbb-2012.10.3.ebuild b/net-libs/libbtbb/libbtbb-2012.10.3.ebuild new file mode 100644 index 000000000000..bd4014d5d75f --- /dev/null +++ b/net-libs/libbtbb/libbtbb-2012.10.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libbtbb/libbtbb-2012.10.3.ebuild,v 1.1 2012/10/30 17:07:09 zerochaos Exp $ + +EAPI=4 + +inherit multilib cmake-utils + +DESCRIPTION="A library to decode Bluetooth baseband packets" +HOMEPAGE="http://libbtbb.sourceforge.net/" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="http://git.code.sf.net/p/libbtbb/code" + SRC_URI="" + inherit git-2 + KEYWORDS="" +else + MY_P=${P/\./-} + MY_P=${MY_P/./-R} + S=${WORKDIR}/${MY_P} + SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="+wireshark" + +RDEPEND=" + wireshark? ( + dev-libs/glib + >=net-analyzer/wireshark-1.8.3-r1 + ) +" +DEPEND="${RDEPEND} + wireshark? ( virtual/pkgconfig )" + +get_PV() { local pv=$(best_version "$1"); pv=${pv#"$1-"}; echo "${pv%-r[0-9]*}"; } + +CMAKE_USE_DIR="${S}"/wireshark/plugins/btbb + +src_prepare() { + sed -i \ + -e '/set(CMAKE_INSTALL_LIBDIR/ d' \ + -e "s:R} N:R}/wireshark/plugins/$(get_PV net-analyzer/wireshark) N:" \ + ${CMAKE_USE_DIR}/CMakeLists.txt || die +} + +src_compile() { + default_src_compile + use wireshark && cmake-utils_src_compile +} + +src_install() { + dodir /usr/$(get_libdir) + dodir /usr/include + emake LDCONFIG=true DESTDIR="${D}" INSTALL_DIR="${ED}/usr/$(get_libdir)" INCLUDE_DIR="${ED}/usr/include" install + + use wireshark && cmake-utils_src_install +} -- cgit v1.2.3-65-gdbad