2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-03-12 11:24:04 +01:00
|
|
|
#
|
|
|
|
# parted
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-03-12 11:24:04 +01:00
|
|
|
|
|
|
|
PARTED_VERSION = 3.1
|
|
|
|
PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz
|
|
|
|
PARTED_SITE = $(BR2_GNU_MIRROR)/parted
|
2013-12-12 19:18:41 +01:00
|
|
|
PARTED_DEPENDENCIES = util-linux
|
2012-03-12 11:24:04 +01:00
|
|
|
PARTED_INSTALL_STAGING = YES
|
2014-06-30 15:16:18 +02:00
|
|
|
# For uclinux patch
|
|
|
|
PARTED_AUTORECONF = YES
|
2014-07-17 00:00:39 +02:00
|
|
|
PARTED_GETTEXTIZE = YES
|
2013-06-28 15:41:14 +02:00
|
|
|
PARTED_LICENSE = GPLv3+
|
|
|
|
PARTED_LICENSE_FILES = COPYING
|
2012-03-12 11:24:04 +01:00
|
|
|
|
2013-12-12 19:18:41 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
|
|
PARTED_DEPENDENCIES += readline
|
|
|
|
PARTED_CONF_OPT += --with-readline
|
|
|
|
else
|
|
|
|
PARTED_CONF_OPT += --without-readline
|
|
|
|
endif
|
|
|
|
|
2013-12-12 19:18:40 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LVM2),y)
|
|
|
|
PARTED_DEPENDENCIES += lvm2
|
|
|
|
PARTED_CONF_OPT += --enable-device-mapper
|
|
|
|
else
|
|
|
|
PARTED_CONF_OPT += --disable-device-mapper
|
|
|
|
endif
|
|
|
|
|
2014-06-30 15:16:18 +02:00
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
|
|
PARTED_CONF_OPT += --disable-dynamic-loading
|
|
|
|
endif
|
|
|
|
|
2013-12-12 19:18:42 +01:00
|
|
|
HOST_PARTED_DEPENDENCIES = host-util-linux
|
|
|
|
HOST_PARTED_CONF_OPT += \
|
|
|
|
--without-readline \
|
|
|
|
--disable-device-mapper \
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2013-12-12 19:18:42 +01:00
|
|
|
$(eval $(host-autotools-package))
|