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.
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# gptfdisk
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
GPTFDISK_VERSION = 1.0.9
|
|
|
|
GPTFDISK_DIR = gptfdisk-$(GPTFDISK_VERSION)
|
|
|
|
GPTFDISK_SOURCE = gptfdisk-$(GPTFDISK_VERSION).tar.gz
|
|
|
|
GPTFDISK_SITE = https://sourceforge.net/projects/gptfdisk/files/gptfdisk/$(GPTFDISK_VERSION)
|
|
|
|
|
|
|
|
GPTFDISK_DEPENDENCIES = popt e2fsprogs ncurses
|
|
|
|
|
|
|
|
GPTFDISK_BINARIES = sgdisk
|
|
|
|
|
|
|
|
define GPTFDISK_INSTALL_BINARIES
|
|
|
|
$(foreach binary,$($(PKG)_BINARIES),\
|
|
|
|
rm -f $(TARGET_sbindir)/$(binary); \
|
|
|
|
$(INSTALL_EXEC) -D $(PKG_BUILD_DIR)/$(binary) $(TARGET_sbindir)/$(binary)$(sep) \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
GPTFDISK_PRE_FOLLOWUP_HOOKS += GPTFDISK_INSTALL_BINARIES
|
|
|
|
|
|
|
|
gptfdisk: | $(TARGET_DIR)
|
|
|
|
$(call PREPARE)
|
|
|
|
$(CHDIR)/$($(PKG)_DIR); \
|
|
|
|
$(TARGET_CONFIGURE_ENV) \
|
|
|
|
$(MAKE) $($(PKG)_SBINARIES)
|
|
|
|
$(call TARGET_FOLLOWUP)
|