Skip to content

Commit

Permalink
sys-power/qrtr: sync live ebuild with latest, remove stale version
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
  • Loading branch information
sarnold committed Jun 15, 2024
1 parent 3fc54ab commit b452b9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 50 deletions.
39 changes: 0 additions & 39 deletions sys-power/qrtr/qrtr-1.0.ebuild

This file was deleted.

18 changes: 7 additions & 11 deletions sys-power/qrtr/qrtr-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=8

inherit toolchain-funcs
inherit meson toolchain-funcs

DESCRIPTION="Userspace reference for net/qrtr in the Linux kernel."
HOMEPAGE="https://github.com/andersson/qrtr"
Expand All @@ -22,18 +22,14 @@ IUSE=""

DEPEND=""

src_prepare() {
sed -i -e "s|fix)/lib|fix)/$(get_libdir)|" "${S}"/Makefile

default
}

src_compile() {
emake CC=$(tc-getCC) prefix="${EPREFIX}/usr" || die "make failed..."
src_configure() {
local emesonargs=(
-Dqrtr-ns=enabled
)
meson_src_configure
}

src_install() {
emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install || die "make install failed..."

meson_src_install
newinitd "${FILESDIR}/${PN}-ns".init "${PN}-ns"
}

0 comments on commit b452b9e

Please sign in to comment.