mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-11 00:07:51 +03:00
31 lines
634 B
Bash
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
|
|
}
|