~tomleb/buildroot_libfoo

buildroot_libfoo/package/libfoo/libfoo.mk -rw-r--r-- 739 bytes
8c84530b — Tom Lebreux Add package libfoo 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
################################################################################
#
# libfoo
#
################################################################################

LIBFOO_VERSION = fc7097d21365be8f26d439a7b134757fe42b5ad2
LIBFOO_SITE = https://git.sr.ht/~tomleb/meson_libfoo
LIBFOO_SITE_METHOD = git
LIBFOO_INSTALL_STAGING = YES
LIBFOO_LICENSE = MIT
LIBFOO_LICENSE_FILES = LICENSE
LIBFOO_DEPENDENCIES = host-pkgconf

ifeq ($(BR2_PACKAGE_LIBFOO_XML),y)
LIBFOO_CONF_OPTS += -Dxml=true
LIBFOO_DEPENDENCIES += libxml2
else
LIBFOO_CONF_OPTS += -Dxml=false
endif

ifeq ($(BR2_PACKAGE_LIBFOO_YAML),y)
LIBFOO_CONF_OPTS += -Dyaml=true
LIBFOO_DEPENDENCIES += libyaml
else
LIBFOO_CONF_OPTS += -Dyaml=false
endif

$(eval $(meson-package))