0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-31 17:42:31 +00:00
2024-10-28 18:49:59 +01:00

24 lines
833 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ntfs-progs"
PKG_REV="0"
PKG_LICENSE="GPLv3"
PKG_DEPENDS_TARGET="toolchain fuse ntfs-3g_ntfsprogs"
PKG_SECTION="tools"
PKG_SHORTDESC="ntfs-3g tools for the NTFS filesystem"
PKG_LONGDESC="ntfs-3g tools for the NTFS filesystem: mkntfs, ntfs-3g.probe, ntfsfix, ntfslabel and ntfsresize"
PKG_TOOLCHAIN="manual"
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="NTFS Tools"
PKG_ADDON_TYPE="xbmc.python.script"
addon() {
PKG_NTFS_INSTALL=$(get_install_dir ntfs-3g_ntfsprogs)
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin/
cp -P ${PKG_NTFS_INSTALL}/usr/bin/{ntfs-3g.probe,ntfsfix} ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
cp -P ${PKG_NTFS_INSTALL}/usr/sbin/{mkntfs,ntfslabel,ntfsresize} \
${ADDON_BUILD}/${PKG_ADDON_ID}/bin
}