summaryrefslogtreecommitdiff
blob: ca22218f7ec118d0091302ea2e30547520987d07 (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PN="${PN%-mt-headers}"
MY_PV="$(ver_rs 3 'mt')"
MY_P="${MY_PN}-${MY_PV}"
# These two should be kept in sync with dev-games/irrlicht-mt
SRC_PN="${PN%-headers}"
SRC_P="${SRC_PN}-${PV}"

DESCRIPTION="Header files for Minetest's fork of dev-games/irrlicht"
HOMEPAGE="https://github.com/minetest/irrlicht"
SRC_URI="https://github.com/minetest/${MY_PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${SRC_P}.tar.gz"

LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~riscv"

RDEPEND="!<dev-games/irrlicht-mt-1.9.0.4-r1"

S="${WORKDIR}"/${MY_P}

src_configure() { :; }

src_compile() { :; }

src_install() {
	insinto /usr/include/${SRC_PN/-/}
	doins include/*
}