aboutsummaryrefslogtreecommitdiff
blob: 748d9684f13e3fab415f5fe8b324981f3627c389 (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
32
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 toolchain-funcs

DESCRIPTION="Tool to communicate with Qualcomm System On a Chip bootroms"
HOMEPAGE="https://github.com/andersson/qdl"
EGIT_REPO_URI="https://github.com/andersson/qdl.git"

LICENSE="BSD"
SLOT="0"

BDEPEND="virtual/libudev
		virtual/pkgconfig
		dev-libs/libxml2
"

PATCHES=(
	"${FILESDIR}/makefile.patch"
)

src_compile() {
	emake CC=$(tc-getCC) PKG_CONFIG=$(tc-getPKG_CONFIG)
}

src_install() {
	default
	insinto "/usr/share/${PN}"
	doins LICENSE
}