board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / s6-linux-utils / s6-linux-utils.mk
blob04ce6889bb45002d9231cf41e0a5234cffccbcf6
1 ################################################################################
3 # s6-linux-utils
5 ################################################################################
7 S6_LINUX_UTILS_VERSION = 2.2.0.0
8 S6_LINUX_UTILS_SITE = http://skarnet.org/software/s6-linux-utils
9 S6_LINUX_UTILS_LICENSE = ISC
10 S6_LINUX_UTILS_LICENSE_FILES = COPYING
11 S6_LINUX_UTILS_DEPENDENCIES = skalibs
13 S6_LINUX_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_LINUX_UTILS_CONFIGURE_CMDS
23 (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_LINUX_UTILS_CONF_OPTS))
24 endef
26 define S6_LINUX_UTILS_BUILD_CMDS
27 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
28 endef
30 define S6_LINUX_UTILS_INSTALL_TARGET_CMDS
31 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
32 endef
34 $(eval $(generic-package))