1 ################################################################################
5 ################################################################################
7 EXECLINE_VERSION
= 2.2.0.0
8 EXECLINE_SITE
= http
://skarnet.org
/software
/execline
10 EXECLINE_LICENSE_FILES
= COPYING
11 EXECLINE_INSTALL_STAGING
= YES
12 EXECLINE_DEPENDENCIES
= skalibs
14 EXECLINE_CONF_OPTS
= \
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
))
27 define EXECLINE_BUILD_CMDS
28 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
31 define EXECLINE_REMOVE_STATIC_LIB_DIR
32 rm -rf
$(TARGET_DIR
)/usr
/lib
/execline
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
41 define EXECLINE_INSTALL_STAGING_CMDS
42 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(STAGING_DIR
) install
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 \
57 define HOST_EXECLINE_CONFIGURE_CMDS
58 (cd
$(@D
); $(HOST_CONFIGURE_OPTS
) .
/configure
$(HOST_EXECLINE_CONF_OPTS
))
61 define HOST_EXECLINE_BUILD_CMDS
62 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
)
65 define HOST_EXECLINE_INSTALL_CMDS
66 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
) install
69 $(eval
$(generic-package
))
70 $(eval
$(host-generic-package
))