|
@@ -4,13 +4,12 @@
|
|
#
|
|
#
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
-RPM_VERSION_MAJOR = 4.15
|
|
|
|
-RPM_VERSION = $(RPM_VERSION_MAJOR).1
|
|
|
|
|
|
+RPM_VERSION_MAJOR = 4.16
|
|
|
|
+RPM_VERSION = $(RPM_VERSION_MAJOR).0
|
|
RPM_SOURCE = rpm-$(RPM_VERSION).tar.bz2
|
|
RPM_SOURCE = rpm-$(RPM_VERSION).tar.bz2
|
|
RPM_SITE = http://ftp.rpm.org/releases/rpm-$(RPM_VERSION_MAJOR).x
|
|
RPM_SITE = http://ftp.rpm.org/releases/rpm-$(RPM_VERSION_MAJOR).x
|
|
RPM_DEPENDENCIES = \
|
|
RPM_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
host-pkgconf \
|
|
- berkeleydb \
|
|
|
|
$(if $(BR2_PACKAGE_BZIP2),bzip2) \
|
|
$(if $(BR2_PACKAGE_BZIP2),bzip2) \
|
|
$(if $(BR2_PACKAGE_ELFUTILS),elfutils) \
|
|
$(if $(BR2_PACKAGE_ELFUTILS),elfutils) \
|
|
file \
|
|
file \
|
|
@@ -20,8 +19,6 @@ RPM_DEPENDENCIES = \
|
|
$(TARGET_NLS_DEPENDENCIES)
|
|
$(TARGET_NLS_DEPENDENCIES)
|
|
RPM_LICENSE = GPL-2.0 or LGPL-2.0 (library only)
|
|
RPM_LICENSE = GPL-2.0 or LGPL-2.0 (library only)
|
|
RPM_LICENSE_FILES = COPYING
|
|
RPM_LICENSE_FILES = COPYING
|
|
-# We're patching configure.ac
|
|
|
|
-RPM_AUTORECONF = YES
|
|
|
|
|
|
|
|
RPM_CONF_OPTS = \
|
|
RPM_CONF_OPTS = \
|
|
--disable-python \
|
|
--disable-python \
|
|
@@ -38,6 +35,13 @@ else
|
|
RPM_CONF_OPTS += --without-acl
|
|
RPM_CONF_OPTS += --without-acl
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
|
|
|
|
+RPM_DEPENDENCIES += berkeleydb
|
|
|
|
+RPM_CONF_OPTS += --enable-bdb
|
|
|
|
+else
|
|
|
|
+RPM_CONF_OPTS += --disable-bdb
|
|
|
|
+endif
|
|
|
|
+
|
|
ifeq ($(BR2_PACKAGE_DBUS),y)
|
|
ifeq ($(BR2_PACKAGE_DBUS),y)
|
|
RPM_DEPENDENCIES += dbus
|
|
RPM_DEPENDENCIES += dbus
|
|
RPM_CONF_OPTS += --enable-plugins
|
|
RPM_CONF_OPTS += --enable-plugins
|
|
@@ -88,6 +92,13 @@ else
|
|
RPM_CONF_OPTS += --without-selinux
|
|
RPM_CONF_OPTS += --without-selinux
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_SQLITE),y)
|
|
|
|
+RPM_DEPENDENCIES += sqlite
|
|
|
|
+RPM_CONF_OPTS += --enable-sqlite
|
|
|
|
+else
|
|
|
|
+RPM_CONF_OPTS += --disable-sqlite
|
|
|
|
+endif
|
|
|
|
+
|
|
ifeq ($(BR2_PACKAGE_ZSTD),y)
|
|
ifeq ($(BR2_PACKAGE_ZSTD),y)
|
|
RPM_DEPENDENCIES += zstd
|
|
RPM_DEPENDENCIES += zstd
|
|
RPM_CONF_OPTS += --enable-zstd
|
|
RPM_CONF_OPTS += --enable-zstd
|