harfbuzz: security bump to version 1.4.4
[buildroot-gz.git] / package / execline / execline.mk
blobca7c73e77502db68280d8e6204141cc90b1a77fb
1 ################################################################################
3 # execline
5 ################################################################################
7 EXECLINE_VERSION = 2.2.0.0
8 EXECLINE_SITE = http://skarnet.org/software/execline
9 EXECLINE_LICENSE = ISC
10 EXECLINE_LICENSE_FILES = COPYING
11 EXECLINE_INSTALL_STAGING = YES
12 EXECLINE_DEPENDENCIES = skalibs
14 EXECLINE_CONF_OPTS = \
15 --prefix=/usr \
16 --with-sysdeps=$(STAGING_DIR)/usr/lib/skalibs/sysdeps \
17 --with-include=$(STAGING_DIR)/usr/include \
18 --with-dynlib=$(STAGING_DIR)/usr/lib \
19 --with-lib=$(STAGING_DIR)/usr/lib/skalibs \
20 $(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
21 $(SHARED_STATIC_LIBS_OPTS)
23 define EXECLINE_CONFIGURE_CMDS
24 (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(EXECLINE_CONF_OPTS))
25 endef
27 define EXECLINE_BUILD_CMDS
28 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
29 endef
31 define EXECLINE_REMOVE_STATIC_LIB_DIR
32 rm -rf $(TARGET_DIR)/usr/lib/execline
33 endef
35 EXECLINE_POST_INSTALL_TARGET_HOOKS += EXECLINE_REMOVE_STATIC_LIB_DIR
37 define EXECLINE_INSTALL_TARGET_CMDS
38 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
39 endef
41 define EXECLINE_INSTALL_STAGING_CMDS
42 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
43 endef
45 HOST_EXECLINE_DEPENDENCIES = host-skalibs
47 HOST_EXECLINE_CONF_OPTS = \
48 --prefix=$(HOST_DIR)/usr \
49 --shebangdir=/usr/bin \
50 --with-sysdeps=$(HOST_DIR)/usr/lib/skalibs/sysdeps \
51 --with-include=$(HOST_DIR)/usr/include \
52 --with-dynlib=$(HOST_DIR)/usr/lib \
53 --disable-static \
54 --enable-shared \
55 --disable-allstatic
57 define HOST_EXECLINE_CONFIGURE_CMDS
58 (cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure $(HOST_EXECLINE_CONF_OPTS))
59 endef
61 define HOST_EXECLINE_BUILD_CMDS
62 $(HOST_MAKE_ENV) $(MAKE) -C $(@D)
63 endef
65 define HOST_EXECLINE_INSTALL_CMDS
66 $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
67 endef
69 $(eval $(generic-package))
70 $(eval $(host-generic-package))