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
|
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
|
|
|
|
|
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))
|