python-pyasn: bump to version 1.6.0b1
[buildroot-gz.git] / package / parted / parted.mk
blobdc7ff2bd743ba05f52de6fd4b61cac6d340e3b10
1 ################################################################################
3 # parted
5 ################################################################################
7 PARTED_VERSION = 3.1
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
12 # For uclinux patch
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
21 else
22 PARTED_CONF_OPTS += --without-readline
23 endif
25 ifeq ($(BR2_PACKAGE_LVM2),y)
26 PARTED_DEPENDENCIES += lvm2
27 PARTED_CONF_OPTS += --enable-device-mapper
28 else
29 PARTED_CONF_OPTS += --disable-device-mapper
30 endif
32 ifeq ($(BR2_STATIC_LIBS),y)
33 PARTED_CONF_OPTS += --disable-dynamic-loading
34 endif
36 HOST_PARTED_DEPENDENCIES = host-pkgconf host-util-linux
37 HOST_PARTED_CONF_OPTS += \
38 --without-readline \
39 --disable-device-mapper \
41 $(eval $(autotools-package))
42 $(eval $(host-autotools-package))