Files
fos/Buildroot/package/partclone/partclone.mk
Sebastian Roth 1ffca08803 Update the FOS build to current state of files in FOG working branch
as a preperation to entirely move those over to this repo.
2017-12-29 19:00:52 -06:00

24 lines
1003 B
Makefile

################################################################################
#
# partclone
#
################################################################################
PARTCLONE_VERSION = 0.2.89
PARTCLONE_SOURCE = partclone_$(PARTCLONE_VERSION).orig.tar.gz
PARTCLONE_SITE = http://partclone.nchc.org.tw/download/stable/$(PARTCLONE_VERSION)
PARTCLONE_INSTALL_STAGING = YES
PARTCLONE_AUTORECONF = YES
PARTCLONE_DEPENDENCIES += attr e2fsprogs libgcrypt lzo xz zlib xfsprogs ncurses host-pkgconf
PARTCLONE_CONF_OPTS = --enable-static --enable-xfs --enable-btrfs --enable-ntfs --enable-extfs --enable-fat --enable-hfsp --enable-ncursesw
define PARTCLONE_LINK_LIBRARIES_TOOL
ln -f -s $(BUILD_DIR)/xfsprogs-*/include/xfs $(STAGING_DIR)/usr/include/
ln -f -s $(BUILD_DIR)/xfsprogs-*/libxfs/.libs/libxfs.* $(STAGING_DIR)/usr/lib/
ln -f -s $(@D)/fail-mbr/fail-mbr.bin $(@D)/fail-mbr/fail-mbr.bin.orig
endef
PARTCLONE_POST_PATCH_HOOKS += PARTCLONE_LINK_LIBRARIES_TOOL
$(eval $(autotools-package))