dosfstools: update to dosfstools-4.1

This commit is contained in:
MilhouseVH 2019-09-20 02:20:34 +01:00
parent 3bfc4fb706
commit 91b9547161

View File

@ -3,8 +3,8 @@
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="dosfstools"
PKG_VERSION="3.0.28"
PKG_SHA256="ee95913044ecf2719b63ea11212917649709a6e53209a72d622135aaa8517ee2"
PKG_VERSION="4.1"
PKG_SHA256="e6b2aca70ccc3fe3687365009dd94a2e18e82b688ed4e260e04b7412471cc173"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/dosfstools/dosfstools"
PKG_URL="https://github.com/dosfstools/dosfstools/releases/download/v$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
@ -13,6 +13,7 @@ PKG_DEPENDS_TARGET="toolchain"
PKG_DEPENDS_INIT="toolchain dosfstools"
PKG_LONGDESC="dosfstools contains utilities for making and checking MS-DOS FAT filesystems."
PKG_CONFIGURE_OPTS_TARGET="--enable-compat-symlinks"
PKG_MAKE_OPTS_TARGET="PREFIX=/usr"
PKG_MAKEINSTALL_OPTS_TARGET="PREFIX=/usr"
@ -32,16 +33,16 @@ make_host() {
makeinstall_init() {
mkdir -p $INSTALL/usr/sbin
cp fsck.fat $INSTALL/usr/sbin
cp ../.install_pkg/usr/sbin/fsck.fat $INSTALL/usr/sbin
ln -sf fsck.fat $INSTALL/usr/sbin/fsck.msdos
ln -sf fsck.fat $INSTALL/usr/sbin/fsck.vfat
}
makeinstall_host() {
mkdir -p $TOOLCHAIN/sbin
cp mkfs.fat $TOOLCHAIN/sbin
cp src/mkfs.fat $TOOLCHAIN/sbin
ln -sf mkfs.fat $TOOLCHAIN/sbin/mkfs.vfat
cp fsck.fat $TOOLCHAIN/sbin
cp src/fsck.fat $TOOLCHAIN/sbin
ln -sf fsck.fat $TOOLCHAIN/sbin/fsck.vfat
cp fatlabel $TOOLCHAIN/sbin
cp src/fatlabel $TOOLCHAIN/sbin
}