dosfstools: init: build fsck.fat without iconv

This commit is contained in:
mglae 2022-04-18 11:44:33 +02:00 committed by Rudi Heitbaum
parent dab3c775f2
commit dd6d37e30b

View File

@ -10,24 +10,19 @@ PKG_SITE="https://github.com/dosfstools/dosfstools"
PKG_URL="https://github.com/dosfstools/dosfstools/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="toolchain:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_DEPENDS_INIT="toolchain dosfstools"
PKG_DEPENDS_INIT="toolchain"
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"
configure_init() {
: # reuse configure_target()
}
make_init() {
: # reuse make_target()
}
PKG_CONFIGURE_OPTS_INIT="--enable-compat-symlinks --without-iconv"
PKG_MAKE_OPTS_INIT="PREFIX=/usr"
makeinstall_init() {
mkdir -p ${INSTALL}/usr/sbin
cp $(get_install_dir dosfstools:target)/usr/sbin/fsck.fat ${INSTALL}/usr/sbin
cp -P src/fsck.fat ${INSTALL}/usr/sbin
ln -sf fsck.fat ${INSTALL}/usr/sbin/fsck.msdos
ln -sf fsck.fat ${INSTALL}/usr/sbin/fsck.vfat
}