mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
zstd: install to staging directory
Install libzstd to the staging directory. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
1bb454bcb1
commit
95c15aaf15
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
ZSTD_VERSION = v1.3.2
|
ZSTD_VERSION = v1.3.2
|
||||||
ZSTD_SITE = $(call github,facebook,zstd,$(ZSTD_VERSION))
|
ZSTD_SITE = $(call github,facebook,zstd,$(ZSTD_VERSION))
|
||||||
|
ZSTD_INSTALL_STAGING = YES
|
||||||
ZSTD_LICENSE = BSD-3-Clause, GPL-2.0
|
ZSTD_LICENSE = BSD-3-Clause, GPL-2.0
|
||||||
ZSTD_LICENSE_FILES = LICENSE COPYING
|
ZSTD_LICENSE_FILES = LICENSE COPYING
|
||||||
|
|
||||||
@ -46,4 +47,9 @@ define ZSTD_INSTALL_TARGET_CMDS
|
|||||||
DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D)/programs install
|
DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D)/programs install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define ZSTD_INSTALL_STAGING_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \
|
||||||
|
DESTDIR=$(STAGING_DIR) PREFIX=/usr -C $(@D)/lib install
|
||||||
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user