# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

_SCRIPT="${PN}-${PV}_offline.sh"
DESCRIPTION="This is a sample skeleton ebuild file"
HOMEPAGE="https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?packages=oneapi-toolkit&oneapi-toolkit-os=linux&oneapi-lin=offline"
SRC_URI="https://registrationcenter-download.intel.com/akdlm/IRC_NAS/d640da34-77cc-4ab2-8019-ac5592f4ec19/${_SCRIPT}"

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

LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="strip test"

RDEPEND=""
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_unpack() {
#	mkdir "${S}"
#	sh "${DISTDIR}/${_SCRIPT}" --extract-only --remove-extracted-files no --extract-folder "${S}"
}

src_install() {
#	mkdir -p "${S}/opt/intel/oneapi"
#	runuser -u portage -- "${PN}-${PV}_offline"/install.sh --silent --eula accept --components all --install-dir "${S}/opt/intel/oneapi" --ignore-errors
}
