kumquat-buildroot/package/libdill/libdill.mk
Angelo Compagnucci d4b13b2102 package/libdill: new package
Libdill is a C library that makes writing structured concurrent programs
easy.

There has been no release in more than two years, so we use the latest
commit on the master branch.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr:
  - explain use of a sha1
  - fix check-package warnings
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-07-30 18:06:50 +02:00

29 lines
760 B
Makefile

################################################################################
#
# libdill
#
################################################################################
LIBDILL_VERSION = fa01648cf2a8d06e53c965b45eeacfb3ac57bd04
LIBDILL_SITE = $(call github,sustrik,libdill,$(LIBDILL_VERSION))
LIBDILL_LICENSE = MIT
LIBDILL_LICENSE_FILES = COPYING
LIBDILL_INSTALL_STAGING = YES
# Fetched from Github, with no configure script
LIBDILL_AUTORECONF = YES
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
LIBDILL_CONF_OPTS += --enable-threads
else
LIBDILL_CONF_OPTS += --disable-threads
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBDILL_DEPENDENCIES += openssl
LIBDILL_CONF_OPTS += --enable-tls
else
LIBDILL_CONF_OPTS += --disable-tls
endif
$(eval $(autotools-package))