mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-30 18:51:17 +02:00
ubertooth-firmware: update for new toolchain
This commit is contained in:
parent
4691968805
commit
8b41c9f043
4 changed files with 45 additions and 4 deletions
|
|
@ -1 +1 @@
|
|||
EBUILD ubertooth-firmware-9999.ebuild 744 RMD160 77791bca419eead6ef2ac3ab73747907e832365a SHA1 3834a32d9db9c035dd17ec302e1a5e6c9b419764 SHA256 1ac0690af0d1f9152a0080be7e577463c1d99ace1c9ef1ab3ebb8383068c9eb2
|
||||
EBUILD ubertooth-firmware-9999.ebuild 743 RMD160 e95d25bbbe6280532d62b3d9cee67850e2d8809e SHA1 9ec716fbe024d77d22a779ddcc252c320c565182 SHA256 761a96c36ce5069b5db60a4c067a819fbdb8cd6b79eed421c2543b28abf4619b
|
||||
|
|
|
|||
|
|
@ -12,17 +12,17 @@ SRC_URI=""
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~arm ~amd64 ~x86"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-wireless/ubertooth[dfu]
|
||||
sys-devel/sourcery-arm-gcc-bin"
|
||||
sys-devel/gcc-arm-embedded-bin"
|
||||
|
||||
ESVN_REPO_URI="https://ubertooth.svn.sourceforge.net/svnroot/ubertooth/trunk/firmware"
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/bluetooth_rxtx
|
||||
SVN_REV_NUM="-D'SVN_REV_NUM'=${ESVN_WC_REVISION}" DFU_TOOL=/usr/bin/ubertooth-dfu emake
|
||||
SVN_REV_NUM="-D'SVN_REV_NUM'=${ESVN_WC_REVISION}" DFU_TOOL=/usr/bin/ubertooth-dfu emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
|
|
|||
2
sys-devel/gcc-arm-embedded-bin/Manifest
Normal file
2
sys-devel/gcc-arm-embedded-bin/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST gcc-arm-none-eabi-4_6-2012q1-20120316.tar.bz2 45089568 RMD160 d24e618d3ef60298573ff9f3749458e8d55976b7 SHA1 49cb24023308f51140f6e2e87a47aa27a26984f8 SHA256 3f1f35eca3a1185760812a0a2cadfdff6d825b0fc1b686a535a049b20a04a448
|
||||
EBUILD gcc-arm-embedded-bin-4.6_p20120316.ebuild 869 RMD160 e2228d7dea65bb15f2b68296d4376aecb29b6f1b SHA1 f88ff556fbfc438ab7a7feb3c99926ad6125d6f1 SHA256 30e4c92bfa6f9eb4e97bd9670cbea861ca69a5fc35b95ee55c71d510cc0eb79f
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Code Sourcery's CodeBench for ARM EABI"
|
||||
HOMEPAGE="https://launchpad.net/gcc-arm-embedded/+download"
|
||||
SRC_URI="https://launchpad.net/gcc-arm-embedded/4.6/4.6-2012-q1-update/+download/gcc-arm-none-eabi-4_6-2012q1-20120316.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 -*"
|
||||
IUSE=""
|
||||
RESTRICT="strip binchecks"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/gcc-arm-none-eabi-4_6-2012q1/
|
||||
|
||||
src_install() {
|
||||
dodir /opt/${PN}
|
||||
\cp -r "${S}"/* "${ED}"/opt/${PN}
|
||||
fowners -R root:0 /opt/${PN}
|
||||
|
||||
local DEST=/opt/${PN}
|
||||
cat > "${T}/env" << EOF
|
||||
PATH=${DEST}/bin
|
||||
ROOTPATH=${DEST}/bin
|
||||
LDPATH=${DEST}/lib
|
||||
MANPATH=${DEST}/share/doc/arm-arm-none-eabi/man
|
||||
EOF
|
||||
newenvd "${T}/env" 99gcc-arm-embedded-bin
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
env-update
|
||||
}
|
||||
Loading…
Reference in a new issue