Files
guru/sys-apps/0xFFFF/0xFFFF-0.10.ebuild
Takuya Wakazono 444ee98da3 sys-apps/0xFFFF: add 0.10
Closes: https://bugs.gentoo.org/888001
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2024-01-28 18:37:27 +09:00

32 lines
599 B
Bash

# 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
}