1 ################################################################################
5 ################################################################################
8 PARTED_SOURCE
= parted-
$(PARTED_VERSION
).
tar.xz
9 PARTED_SITE
= $(BR2_GNU_MIRROR
)/parted
10 PARTED_DEPENDENCIES
= host-pkgconf util-linux
11 PARTED_INSTALL_STAGING
= YES
13 PARTED_AUTORECONF
= YES
14 PARTED_GETTEXTIZE
= YES
15 PARTED_LICENSE
= GPLv3
+
16 PARTED_LICENSE_FILES
= COPYING
18 ifeq ($(BR2_PACKAGE_READLINE
),y
)
19 PARTED_DEPENDENCIES
+= readline
20 PARTED_CONF_OPTS
+= --with-readline
22 PARTED_CONF_OPTS
+= --without-readline
25 ifeq ($(BR2_PACKAGE_LVM2
),y
)
26 PARTED_DEPENDENCIES
+= lvm2
27 PARTED_CONF_OPTS
+= --enable-device-mapper
29 PARTED_CONF_OPTS
+= --disable-device-mapper
32 ifeq ($(BR2_STATIC_LIBS
),y
)
33 PARTED_CONF_OPTS
+= --disable-dynamic-loading
36 HOST_PARTED_DEPENDENCIES
= host-pkgconf host-util-linux
37 HOST_PARTED_CONF_OPTS
+= \
39 --disable-device-mapper \
41 $(eval
$(autotools-package
))
42 $(eval
$(host-autotools-package
))