mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
[Thomas:
- Add missing include in package/Config.in to make the package
appear in menuconfig.
- Fix the comment dependencies: the comment should be shown either
if C++ is not available *or* if threads are not supported.
- Add a hash file.
- Add missing dependency on host-pkgconf, since pkg-config is used
to detect the availability of ibrcommon.
- Remove the custom INSTALL_STAGING_OPTS and INSTALL_TARGET_OPTS:
they are not needed since automake is used.
- Make --with-compression conditional on whether zlib is available.
- Add optional dependency on libglib2.
- Add missing final newlines in .mk and Config.in files.]
Signed-off-by: Tom Sparks <tom_a_sparks@yahoo.com.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
801 B
Makefile
31 lines
801 B
Makefile
################################################################################
|
|
#
|
|
# ibrdtn
|
|
#
|
|
################################################################################
|
|
|
|
IBRDTN_VERSION = 1.0.1
|
|
IBRDTN_SOURCE = ibrdtn-$(IBRDTN_VERSION).tar.gz
|
|
IBRDTN_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases/
|
|
IBRDTN_INSTALL_STAGING = YES
|
|
IBRDTN_LICENSE = Apache-2.0
|
|
IBRDTN_LICENSE_FILES = COPYING
|
|
IBRDTN_DEPENDENCIES = ibrcommon host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
IBRDTN_CONF_OPTS += --with-compression
|
|
IBRDTN_DEPENDENCIES += zlib
|
|
else
|
|
IBRDTN_CONF_OPTS += --without-compression
|
|
IBRDTN_DEPENDENCIES += zlib
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
|
IBRDTN_CONF_OPTS += --with-glib
|
|
IBRDTN_DEPENDENCIES += libglib2
|
|
else
|
|
IBRDTN_CONF_OPTS += --without-glib
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|