mirror of
https://github.com/FOGProject/fos.git
synced 2026-04-12 10:48:54 -05:00
24 lines
1003 B
Makefile
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))
|