The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / bsdiff / bsdiff.mk
1 ################################################################################
2 #
3 # bsdiff
4 #
5 ################################################################################
6
7 BSDIFF_VERSION = 4.3
8 BSDIFF_SITE = http://www.daemonology.net/bsdiff
9 BSDIFF_DEPENDENCIES = bzip2
10 BSDIFF_LICENSE = BSD-2c
11 BSDIFF_LICENSE_FILES = bsdiff.c
12
13 define BSDIFF_BUILD_CMDS
14         $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
15                 $(@D)/bsdiff.c -lbz2 -o $(@D)/bsdiff
16         $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
17                 $(@D)/bspatch.c -lbz2 -o $(@D)/bspatch
18 endef
19
20 define BSDIFF_INSTALL_TARGET_CMDS
21         $(INSTALL) -D -m 755 $(@D)/bsdiff $(TARGET_DIR)/usr/bin/bsdiff
22         $(INSTALL) -D -m 755 $(@D)/bspatch $(TARGET_DIR)/usr/bin/bspatch
23 endef
24
25 $(eval $(generic-package))