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>
This commit is contained in:
Angelo Compagnucci 2022-07-30 00:01:54 +02:00 committed by Yann E. MORIN
parent 81e7e2e773
commit d4b13b2102
5 changed files with 40 additions and 0 deletions

View File

@ -164,6 +164,7 @@ F: package/i2c-tools/
F: package/jq/
F: package/libapparmor/
F: package/libb64/
F: package/libdill/
F: package/mender/
F: package/mender-artifact/
F: package/mono/

View File

@ -1999,6 +1999,7 @@ menu "Other"
source "package/libcrossguid/Config.in"
source "package/libcsv/Config.in"
source "package/libdaemon/Config.in"
source "package/libdill/Config.in"
source "package/libeastl/Config.in"
source "package/libee/Config.in"
source "package/libev/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_LIBDILL
bool "libdill"
help
Libdill is a C library that makes writing structured
concurrent programs easy.
http://libdill.org

View File

@ -0,0 +1,3 @@
# sha256 locally computed
sha256 6df7527e8f1e91f5106c21c5bfeaa69eee470bec476c74585143e3e439864404 libdill-fa01648cf2a8d06e53c965b45eeacfb3ac57bd04.tar.gz
sha256 3f78d9c42c8919cb6dc63e51de17b9eb40a49d9cdd876ce59e77392721e8c2c6 COPYING

View File

@ -0,0 +1,28 @@
################################################################################
#
# 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))