b5f0c6efb2
- Remove all patches (already in version) as well as autoreconf - Remove --disable-dynamic-loading (dropped since http://git.savannah.gnu.org/cgit/parted.git/commit/?id=b49388018931cab220b9dd50f3a2bd51401e48af) - Add a dependency on locale as locale_t is unconditionnaly used since http://git.savannah.gnu.org/cgit/parted.git/commit/?id=9c266205416ec956d6205c828211480de3767d02 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
40 lines
991 B
Makefile
40 lines
991 B
Makefile
################################################################################
|
|
#
|
|
# parted
|
|
#
|
|
################################################################################
|
|
|
|
PARTED_VERSION = 3.3
|
|
PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz
|
|
PARTED_SITE = $(BR2_GNU_MIRROR)/parted
|
|
PARTED_DEPENDENCIES = host-pkgconf util-linux
|
|
PARTED_INSTALL_STAGING = YES
|
|
PARTED_LICENSE = GPL-3.0+
|
|
PARTED_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
PARTED_DEPENDENCIES += readline
|
|
PARTED_CONF_OPTS += --with-readline
|
|
else
|
|
PARTED_CONF_OPTS += --without-readline
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LVM2),y)
|
|
PARTED_DEPENDENCIES += lvm2
|
|
PARTED_CONF_OPTS += --enable-device-mapper
|
|
else
|
|
PARTED_CONF_OPTS += --disable-device-mapper
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
PARTED_DEPENDENCIES += libiconv
|
|
endif
|
|
|
|
HOST_PARTED_DEPENDENCIES = host-pkgconf host-util-linux
|
|
HOST_PARTED_CONF_OPTS += \
|
|
--without-readline \
|
|
--disable-device-mapper
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|