blob: 0810b547a894be6956ac8f7b70a3c67526d2f83f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2013-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="0pen Free Fiasco Firmware Flasher for Maemo devices"
HOMEPAGE="https://github.com/pali/0xFFFF"
SRC_URI="https://github.com/pali/${PN}/releases/download/${PV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="virtual/libusb:0"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i 's/-O2//' src/Makefile || die
default
}
src_compile() {
tc-export CC
default
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}
|