Blame view

buildroot/buildroot-2016.08.1/package/lite/lite.mk 1010 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  ################################################################################
  #
  # lite
  #
  ################################################################################
  
  LITE_VERSION = 0.8.10
  LITE_SOURCE = LiTE-$(LITE_VERSION).tar.gz
  LITE_SITE = http://www.directfb.org/downloads/Libs
  LITE_INSTALL_STAGING = YES
  LITE_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
  LITE_CONF_ENV = DFB_CFLAGS=-I$(STAGING_DIR)/usr/include/directfb
  LITE_DEPENDENCIES = directfb
  LITE_LICENSE = LGPLv2.1+
  LITE_LICENSE_FILES = COPYING
  
  define LITE_FINALIZE_INSTALL
  	$(INSTALL) -d $(TARGET_DIR)/usr/share/LiTE/examples/
  	$(INSTALL) -d $(TARGET_DIR)/usr/share/fonts/truetype/
  	$(INSTALL) -m0644 $(@D)/data/*.png $(TARGET_DIR)/usr/share/LiTE/
  	$(INSTALL) -m0644 $(@D)/examples/*.png $(TARGET_DIR)/usr/share/LiTE/examples/
  	$(INSTALL) -m0644 $(@D)/fonts/*.ttf $(TARGET_DIR)/usr/share/fonts/truetype/
  endef
  
  LITE_POST_INSTALL_TARGET_HOOKS += LITE_FINALIZE_INSTALL
  
  $(eval $(autotools-package))