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
|
|
|
|
2020-01-13 20:30:44 +01:00
|
|
|
PARTED_VERSION = 3.3
|
2012-03-12 11:24:04 +01:00
|
|
|
PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz
|
|
|
|
PARTED_SITE = $(BR2_GNU_MIRROR)/parted
|
2014-11-30 23:31:37 +01:00
|
|
|
PARTED_DEPENDENCIES = host-pkgconf util-linux
|
2012-03-12 11:24:04 +01:00
|
|
|
PARTED_INSTALL_STAGING = YES
|
2017-03-30 15:43:33 +02:00
|
|
|
PARTED_LICENSE = GPL-3.0+
|
2013-06-28 15:41:14 +02:00
|
|
|
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
|
2014-09-27 21:32:44 +02:00
|
|
|
PARTED_CONF_OPTS += --with-readline
|
2013-12-12 19:18:41 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
PARTED_CONF_OPTS += --without-readline
|
2013-12-12 19:18:41 +01:00
|
|
|
endif
|
|
|
|
|
2013-12-12 19:18:40 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LVM2),y)
|
|
|
|
PARTED_DEPENDENCIES += lvm2
|
2014-09-27 21:32:44 +02:00
|
|
|
PARTED_CONF_OPTS += --enable-device-mapper
|
2013-12-12 19:18:40 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
PARTED_CONF_OPTS += --disable-device-mapper
|
2013-12-12 19:18:40 +01:00
|
|
|
endif
|
|
|
|
|
2017-11-06 22:23:03 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
|
|
PARTED_DEPENDENCIES += libiconv
|
|
|
|
endif
|
|
|
|
|
2014-11-30 23:31:37 +01:00
|
|
|
HOST_PARTED_DEPENDENCIES = host-pkgconf host-util-linux
|
2014-09-27 21:32:44 +02:00
|
|
|
HOST_PARTED_CONF_OPTS += \
|
2013-12-12 19:18:42 +01:00
|
|
|
--without-readline \
|
2017-04-05 00:50:14 +02:00
|
|
|
--disable-device-mapper
|
2013-12-12 19:18:42 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2013-12-12 19:18:42 +01:00
|
|
|
$(eval $(host-autotools-package))
|