board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / s6-portable-utils / s6-portable-utils.mk
blob7461450a7fa8cd3c3c462a2894584b7b16f74ebf
1 ################################################################################
3 # s6-portable-utils
5 ################################################################################
7 S6_PORTABLE_UTILS_VERSION = 2.1.0.0
8 S6_PORTABLE_UTILS_SITE = http://skarnet.org/software/s6-portable-utils
9 S6_PORTABLE_UTILS_LICENSE = ISC
10 S6_PORTABLE_UTILS_LICENSE_FILES = COPYING
11 S6_PORTABLE_UTILS_DEPENDENCIES = skalibs
13 S6_PORTABLE_UTILS_CONF_OPTS = \
14 --prefix=/usr \
15 --with-sysdeps=$(STAGING_DIR)/usr/lib/skalibs/sysdeps \
16 --with-include=$(STAGING_DIR)/usr/include \
17 --with-dynlib=$(STAGING_DIR)/usr/lib \
18 --with-lib=$(STAGING_DIR)/usr/lib/skalibs \
19 $(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
20 $(SHARED_STATIC_LIBS_OPTS)
22 define S6_PORTABLE_UTILS_CONFIGURE_CMDS
23 (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_PORTABLE_UTILS_CONF_OPTS))
24 endef
26 define S6_PORTABLE_UTILS_BUILD_CMDS
27 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
28 endef
30 define S6_PORTABLE_UTILS_INSTALL_TARGET_CMDS
31 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
32 endef
34 $(eval $(generic-package))