751f38f5a4
cpe:2.3🅰️daemonology:bsdiff is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Adaemonology%3Absdiff Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
27 lines
821 B
Makefile
27 lines
821 B
Makefile
################################################################################
|
|
#
|
|
# bsdiff
|
|
#
|
|
################################################################################
|
|
|
|
BSDIFF_VERSION = 4.3
|
|
BSDIFF_SITE = http://www.daemonology.net/bsdiff
|
|
BSDIFF_DEPENDENCIES = bzip2
|
|
BSDIFF_LICENSE = BSD-2-Clause
|
|
BSDIFF_LICENSE_FILES = bsdiff.c
|
|
BSDIFF_CPE_ID_VENDOR = daemonology
|
|
|
|
define BSDIFF_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
|
$(@D)/bsdiff.c -lbz2 -o $(@D)/bsdiff
|
|
$(TARGET_MAKE_ENV) $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
|
$(@D)/bspatch.c -lbz2 -o $(@D)/bspatch
|
|
endef
|
|
|
|
define BSDIFF_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 755 $(@D)/bsdiff $(TARGET_DIR)/usr/bin/bsdiff
|
|
$(INSTALL) -D -m 755 $(@D)/bspatch $(TARGET_DIR)/usr/bin/bspatch
|
|
endef
|
|
|
|
$(eval $(generic-package))
|