[Buildroot] [PATCH 1/1] jack2: Added staging

Thomas De Schampheleire patrickdepinguin at gmail.com
Wed Aug 6 08:04:42 UTC 2014


Pieter De Gendt <pieter.degendt at gmail.com> schreef:
>
>Signed-off-by: Pieter De Gendt <pieter.degendt at gmail.com>
>---
> package/jack2/jack2.mk |    7 +++++++
> 1 file changed, 7 insertions(+)
>
>diff --git a/package/jack2/jack2.mk b/package/jack2/jack2.mk
>index 68f6e42..e1c3197 100644
>--- a/package/jack2/jack2.mk
>+++ b/package/jack2/jack2.mk
>@@ -8,6 +8,7 @@ JACK2_VERSION = ab409a65df95bc261ff72b52d6b3f4a65cf3266a
> JACK2_SITE = $(call github,jackaudio,jack2,$(JACK2_VERSION))
> JACK2_LICENSE = GPLv2+ (jack server), LGPLv2.1+ (jack library)
> JACK2_DEPENDENCIES = libsamplerate libsndfile alsa-lib host-python
>+JACK2_INSTALL_STAGING = YES
> 
> define JACK2_CONFIGURE_CMDS
> 	(cd $(@D); \
>@@ -27,4 +28,10 @@ define JACK2_INSTALL_TARGET_CMDS
> 		install)
> endef
> 
>+define JACK2_INSTALL_STAGING_CMDS
>+	$(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/jack
>+	$(INSTALL) -m 0644 $(@D)/common/jack/*.h \
>+		$(STAGING_DIR)/usr/include/jack
>+endef

Is there a particular reason why you did manual copies here instead of just running 'make install'?





More information about the buildroot mailing list