gentoo/dev-libs/linux-syscall-support/linux-syscall-support-2022.10.12.ebuild
Alfredo Tupone b720681b4e
dev-libs/linux-syscall-support: keyword 2022.10.12 for ~x86
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2025-04-28 21:55:54 +02:00

31 lines
634 B
Bash

# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Linux Syscall Support"
HOMEPAGE="https://chromium.googlesource.com/linux-syscall-support"
#SRC_URI="https://chromium.googlesource.com/${PN}/+archive/refs/tags/v${PV}.tar.gz
SRC_URI="https://dev.gentoo.org/~tupone/distfiles/${P}.tar.gz"
S="${WORKDIR}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
src_prepare() {
default
sed -i -e "/fallocate/d" tests/Makefile || die
mkdir lss || die
cp linux_syscall_support.h lss/ || die
}
src_test() {
emake -C tests
}
src_install() {
doheader -r lss
}