gentoo-linux-surface-overlay/app-misc/surface-dtx-daemon/surface-dtx-daemon-9999.ebuild

32 lines
625 B
Bash
Raw Normal View History

2021-07-30 14:14:50 -07:00
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cargo git-r3
DESCRIPTION="Utility to control attach/detach of clipboard on Surface Book devices."
HOMEPAGE="https://github.com/linux-surface/linux-surface"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
EGIT_REPO_URI="https://github.com/linux-surface/surface-dtx-daemon"
S="${WORKDIR}/surface-dtx-daemon-9999"
src_unpack() {
git-r3_src_unpack
}
src_compile() {
emake CC="$(tc-getCC)" \
CPPFLAGS="${CPPFLAGS}" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
2021-07-30 14:14:50 -07:00
}