0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-05 20:57:58 +00:00
Christian Hewitt 1a6a92e9df ntfs-3g: capitalise NTFS-3G and provide a longer add-on description
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2024-11-13 17:37:15 +01:00

27 lines
873 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2024-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ntfs3g"
PKG_REV="0"
PKG_LICENSE="GPLv3"
PKG_DEPENDS_TARGET="toolchain fuse ntfs-3g_ntfsprogs"
PKG_SECTION="service"
PKG_SHORTDESC="NTFS-3G for udevil"
PKG_LONGDESC="NTFS-3G for udevil overrides the NTFS3 kernel driver with the NTFS-3G userspace driver used in older LibreELEC releases."
PKG_TOOLCHAIN="manual"
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="NTFS-3G"
PKG_ADDON_TYPE="xbmc.service"
addon() {
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/{bin,lib.private}
cp -PL $(get_install_dir fuse)/usr/lib/libfuse.so.2 \
${ADDON_BUILD}/${PKG_ADDON_ID}/lib.private
cp $(get_install_dir ntfs-3g_ntfsprogs)/usr/bin/ntfs-3g \
${ADDON_BUILD}/${PKG_ADDON_ID}/bin
patchelf --add-rpath '${ORIGIN}/../lib.private' ${ADDON_BUILD}/${PKG_ADDON_ID}/bin/ntfs-3g
}