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 / c-periphery / c-periphery.mk
1 ################################################################################
2 #
3 # c-periphery
4 #
5 ################################################################################
6
7 C_PERIPHERY_VERSION = 0fdfac3264f1dce32991f4ec30d084e34b35181d
8 C_PERIPHERY_SITE = $(call github,vsergeev,c-periphery,$(C_PERIPHERY_VERSION))
9 C_PERIPHERY_INSTALL_STAGING = YES
10 # only a static library
11 C_PERIPHERY_INSTALL_TARGET = NO
12 C_PERIPHERY_LICENSE = MIT
13 C_PERIPHERY_LICENSE_FILES = LICENSE
14
15 define C_PERIPHERY_BUILD_CMDS
16         $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
17 endef
18
19 # There is no 'install' rule in the Makefile, so we handle things
20 # manually.
21 define C_PERIPHERY_INSTALL_STAGING_CMDS
22         $(INSTALL) -D -m 0644 $(@D)/periphery.a $(STAGING_DIR)/usr/lib/libc-periphery.a
23         mkdir -p $(STAGING_DIR)/usr/include/c-periphery/
24         cp -dpfr $(@D)/src/*.h $(STAGING_DIR)/usr/include/c-periphery/
25 endef
26
27 $(eval $(generic-package))