summaryrefslogtreecommitdiff
path: root/dev-libs/linux-syscall-support/linux-syscall-support-2021.05.03.ebuild
blob: 20846862a136b0f37f6e3e37731158141dd9f536 (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
31
32
33
34
35
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CommitId=242f0729ac827a50ac7338e45c9f373eb73e4ca9

DESCRIPTION="Linux Syscall Support"
HOMEPAGE="https://github.com/mikey/linux-syscall-support/"
SRC_URI="https://github.com/mikey/${PN}/archive/${CommitId}.tar.gz
	-> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

S="${WORKDIR}"/${PN}-${CommitId}

PATCHES=(
	"${FILESDIR}"/${P}-test.patch
)

src_prepare() {
	default
	mkdir lss || die
	cp linux_syscall_support.h lss/ || die
}

src_test() {
	emake -C tests
}

src_install() {
	doheader -r lss
}