2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2006-12-15 14:57:07 +01:00
|
|
|
#
|
|
|
|
# bsdiff
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2010-09-26 09:13:55 +02:00
|
|
|
BSDIFF_VERSION = 4.3
|
|
|
|
BSDIFF_SITE = http://www.daemonology.net/bsdiff
|
|
|
|
BSDIFF_DEPENDENCIES = bzip2
|
2017-03-30 15:43:39 +02:00
|
|
|
BSDIFF_LICENSE = BSD-2-Clause
|
2014-06-26 21:20:31 +02:00
|
|
|
BSDIFF_LICENSE_FILES = bsdiff.c
|
2021-01-17 00:13:30 +01:00
|
|
|
BSDIFF_CPE_ID_VENDOR = daemonology
|
2010-09-26 09:13:55 +02:00
|
|
|
|
|
|
|
define BSDIFF_BUILD_CMDS
|
2016-10-14 00:13:37 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
2012-07-02 11:10:59 +02:00
|
|
|
$(@D)/bsdiff.c -lbz2 -o $(@D)/bsdiff
|
2016-10-14 00:13:37 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
2012-07-02 11:10:59 +02:00
|
|
|
$(@D)/bspatch.c -lbz2 -o $(@D)/bspatch
|
2010-09-26 09:13:55 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define BSDIFF_INSTALL_TARGET_CMDS
|
2014-06-01 14:38:01 +02:00
|
|
|
$(INSTALL) -D -m 755 $(@D)/bsdiff $(TARGET_DIR)/usr/bin/bsdiff
|
|
|
|
$(INSTALL) -D -m 755 $(@D)/bspatch $(TARGET_DIR)/usr/bin/bspatch
|
2010-09-26 09:13:55 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|