mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
libbtbb: libraries needed for ubertooth
This commit is contained in:
parent
7e50f7cb31
commit
e996c2b627
4 changed files with 92 additions and 0 deletions
4
dev-libs/libbtbb/Manifest
Normal file
4
dev-libs/libbtbb/Manifest
Normal 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
|
||||
10
dev-libs/libbtbb/files/makefile.patch
Normal file
10
dev-libs/libbtbb/files/makefile.patch
Normal 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)
|
||||
|
||||
39
dev-libs/libbtbb/libbtbb-0.5.ebuild
Normal file
39
dev-libs/libbtbb/libbtbb-0.5.ebuild
Normal 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
|
||||
}
|
||||
39
dev-libs/libbtbb/libbtbb-9999.ebuild
Normal file
39
dev-libs/libbtbb/libbtbb-9999.ebuild
Normal 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
|
||||
}
|
||||
Loading…
Reference in a new issue