blob: 2363dd6464054ce5d9b660c0b02587f25418f214 (
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
|
# Copyright 2022-2023 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"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}"
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
}
|