python-whoosh: bump to version 2.7.4
[buildroot-gz.git] / package / libcli / libcli.mk
blob17eed79884d0e7cc6be0d54ad5f59316d314a3da
1 ################################################################################
3 # libcli
5 ################################################################################
7 LIBCLI_VERSION = c63c9d35144939c8b4fa3c5394aed2e29ff517b0
8 LIBCLI_SITE = $(call github,dparrish,libcli,$(LIBCLI_VERSION))
9 LIBCLI_LICENSE = LGPLv2.1
10 LIBCLI_LICENSE_FILES = COPYING
11 LIBCLI_INSTALL_STAGING = YES
13 # We will pass optimisation level via CFLAGS so remove libcli default
14 LIBCLI_MAKE_ARGS += OPTIM=
16 # We can't run the test harness
17 LIBCLI_MAKE_ARGS += TESTS=
19 # Disable the static library for shared only build
20 ifeq ($(BR2_SHARED_LIBS),y)
21 LIBCLI_MAKE_ARGS += STATIC_LIB=
22 endif
24 # Disable the shared library for static only build
25 ifeq ($(BR2_STATIC_LIBS),y)
26 LIBCLI_MAKE_ARGS += DYNAMIC_LIB=
27 endif
29 define LIBCLI_BUILD_CMDS
30 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
31 $(LIBCLI_MAKE_ARGS)
32 endef
34 define LIBCLI_INSTALL_STAGING_CMDS
35 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
36 $(LIBCLI_MAKE_ARGS) DESTDIR=$(STAGING_DIR) PREFIX=/usr install
37 endef
39 define LIBCLI_INSTALL_TARGET_CMDS
40 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
41 $(LIBCLI_MAKE_ARGS) DESTDIR=$(TARGET_DIR) PREFIX=/usr install
42 endef
44 $(eval $(generic-package))