You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
1.1 KiB

################################################################################
#
# coreutils
#
################################################################################
COREUTILS_VERSION = 9.1
COREUTILS_DIR = coreutils-$(COREUTILS_VERSION)
COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz
COREUTILS_SITE = $(GNU_MIRROR)/coreutils
COREUTILS_AUTORECONF = YES
COREUTILS_CONF_OPTS = \
--prefix=$(base_prefix) \
--exec_prefix=$(base_prefix) \
--includedir=$(includedir) \
--libdir=$(libdir) \
--bindir=$(base_bindir).$(@F) \
--libexecdir=$(REMOVE_libexecdir) \
--datarootdir=$(REMOVE_datarootdir) \
--disable-xattr \
--disable-libcap \
--disable-acl \
--without-gmp \
--without-selinux
COREUTILS_BINARIES = touch
define COREUTILS_INSTALL_BINARIES
$(foreach binary,$($(PKG)_BINARIES),\
rm -f $(TARGET_base_bindir)/$(binary); \
$(INSTALL_EXEC) -D $(TARGET_base_bindir).$(@F)/$(binary) $(TARGET_base_bindir)/$(binary); \
rm -f $(TARGET_base_bindir).$(@F)/$(binary)$(sep) \
)
$(TARGET_RM) $(TARGET_base_bindir).$(@F)
endef
COREUTILS_TARGET_FINALIZE_HOOKS += COREUTILS_INSTALL_BINARIES
coreutils: | $(TARGET_DIR)
$(call autotools-package)