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
|
|
|
|
2017-06-30 14:45:23 +02:00
|
|
|
PARTED_VERSION = 3.2
|
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-11-06 22:23:03 +01:00
|
|
|
# 0002-configure.ac-uclinux-is-also-linux.patch
|
|
|
|
# 0004-libparted-labels-link-with-libiconv-if-needed.patch
|
2014-06-30 15:16:18 +02:00
|
|
|
PARTED_AUTORECONF = YES
|
2014-07-17 00:00:39 +02:00
|
|
|
PARTED_GETTEXTIZE = 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-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
PARTED_CONF_OPTS += --disable-dynamic-loading
|
2014-06-30 15:16:18 +02:00
|
|
|
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))
|