mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 18:43:18 -04:00
32 lines
640 B
Bash
32 lines
640 B
Bash
# Copyright 2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Tool to communicate with Qualcomm System On a Chip bootroms"
|
|
HOMEPAGE="https://github.com/andersson/qdl"
|
|
SRC_URI="https://github.com/andersson/qdl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
BDEPEND="virtual/libudev
|
|
virtual/pkgconfig
|
|
dev-libs/libxml2
|
|
"
|
|
|
|
PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
|
|
|
|
src_compile() {
|
|
emake CC=$(tc-getCC) PKG_CONFIG=$(tc-getPKG_CONFIG)
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
insinto "/usr/share/${PN}"
|
|
doins LICENSE
|
|
}
|