distribution/packages/graphics/libmali-vulkan/package.mk
2023-08-25 15:40:15 +00:00

23 lines
772 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="libmali-vulkan"
PKG_VERSION="r40p0-01eac0"
PKG_LICENSE="mali_driver"
PKG_ARCH="arm aarch64"
PKG_SITE="https://developer.arm.com/downloads/-/mali-drivers/user-space"
PKG_URL="https://developer.arm.com/-/media/Files/downloads/mali-drivers/user-space/odroid-n2plus/BXODROIDN2PL-${PKG_VERSION}.tar"
PKG_DEPENDS_TARGET="toolchain mesa vulkan-tools"
PKG_TOOLCHAIN="manual"
PKG_LONGDESC="Vulkan Mali drivers for s922x soc"
make_target() {
:
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/{lib,share}
tar -xvJf ${PKG_BUILD}/mali.tar.xz -C ${INSTALL}
mv ${INSTALL}/lib/${TARGET_ARCH}-linux-gnu/* ${INSTALL}/usr/lib
rm -r ${INSTALL}/lib
}