1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# bsdiff 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunBSDIFF_VERSION = 4.3 8*4882a593SmuzhiyunBSDIFF_SITE = http://www.daemonology.net/bsdiff 9*4882a593SmuzhiyunBSDIFF_DEPENDENCIES = bzip2 10*4882a593SmuzhiyunBSDIFF_LICENSE = BSD-2-Clause 11*4882a593SmuzhiyunBSDIFF_LICENSE_FILES = bsdiff.c 12*4882a593SmuzhiyunBSDIFF_CPE_ID_VENDOR = daemonology 13*4882a593Smuzhiyun 14*4882a593Smuzhiyundefine BSDIFF_BUILD_CMDS 15*4882a593Smuzhiyun $(TARGET_MAKE_ENV) $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \ 16*4882a593Smuzhiyun $(@D)/bsdiff.c -lbz2 -o $(@D)/bsdiff 17*4882a593Smuzhiyun $(TARGET_MAKE_ENV) $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \ 18*4882a593Smuzhiyun $(@D)/bspatch.c -lbz2 -o $(@D)/bspatch 19*4882a593Smuzhiyunendef 20*4882a593Smuzhiyun 21*4882a593Smuzhiyundefine BSDIFF_INSTALL_TARGET_CMDS 22*4882a593Smuzhiyun $(INSTALL) -D -m 755 $(@D)/bsdiff $(TARGET_DIR)/usr/bin/bsdiff 23*4882a593Smuzhiyun $(INSTALL) -D -m 755 $(@D)/bspatch $(TARGET_DIR)/usr/bin/bspatch 24*4882a593Smuzhiyunendef 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun$(eval $(generic-package)) 27