libbtbb: libraries needed for ubertooth

This commit is contained in:
Zero_Chaos 2011-05-28 23:14:36 +00:00
parent 7e50f7cb31
commit e996c2b627
4 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,4 @@
AUX makefile.patch 414 RMD160 07aed7bd845b2012969cc19f7961b9378084ea38 SHA1 039581d940cac12e521c1b74a79cec080a29eb66 SHA256 4b139d321261a2d23d932464c624d42c685754d8ecc3ae73d4024836a67b7277
DIST libbtbb.0.5.tgz 137378 RMD160 c5d68e7620c901cf520e33fc747cc6a0b9535154 SHA1 5465d4520b267bad53c56a67260099e60439c922 SHA256 528cfd3822f98f539cf468d82c63b32c2063bcca53299befe14200723bec7d52
EBUILD libbtbb-0.5.ebuild 793 RMD160 dc28d89ca196c0253e77a19d586ed6a029cf534c SHA1 de883bb5f56a95b37fbbec54f954440178253157 SHA256 1ac28d9dfc978fa2d26d64a7b942db68ad0a49db325fdfbad18d9c7127cd7a13
EBUILD libbtbb-9999.ebuild 793 RMD160 dc28d89ca196c0253e77a19d586ed6a029cf534c SHA1 de883bb5f56a95b37fbbec54f954440178253157 SHA256 1ac28d9dfc978fa2d26d64a7b942db68ad0a49db325fdfbad18d9c7127cd7a13

View file

@ -0,0 +1,10 @@
diff -Naur libbtbb-orig/Makefile libbtbb/Makefile
--- libbtbb-orig/Makefile 2011-05-27 23:54:48.000000000 -0400
+++ libbtbb/Makefile 2011-05-27 23:56:40.000000000 -0400
@@ -45,5 +45,5 @@
$(INSTALL) -m 0644 $(LIB_FILE) $(INSTALL_DIR)
$(INSTALL) -m 0644 $(HEADER_FILES) $(INCLUDE_DIR)
$(LDCONFIG)
- ln -fs $(INSTALL_DIR)/$(LIB_FILE) $(INSTALL_DIR)/$(LIB_NAME)
+ ln -fs $(LIB_FILE) $(INSTALL_DIR)/$(LIB_NAME)

View file

@ -0,0 +1,39 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils
MY_P="${PN}.${PV}"
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"
inherit git
KEYWORDS="-*"
else
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="GPL2"
SLOT="0"
IUSE=""
S="${WORKDIR}/${PN}"
DEPEND=""
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/makefile.patch
}
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
}

View file

@ -0,0 +1,39 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils
MY_P="${PN}.${PV}"
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"
inherit git
KEYWORDS="-*"
else
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="GPL2"
SLOT="0"
IUSE=""
S="${WORKDIR}/${PN}"
DEPEND=""
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/makefile.patch
}
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
}