2008-08-26 16:52:17 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# LiTE
|
|
|
|
#
|
|
|
|
#############################################################
|
2008-10-31 15:04:31 +01:00
|
|
|
LITE_VERSION:=0.8.10
|
2008-08-26 16:52:17 +02:00
|
|
|
LITE_SOURCE:=LiTE-$(LITE_VERSION).tar.gz
|
|
|
|
LITE_SITE:=http://www.directfb.org/downloads/Libs
|
|
|
|
LITE_INSTALL_STAGING = YES
|
|
|
|
LITE_INSTALL_TARGET = YES
|
|
|
|
LITE_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
|
|
|
|
LITE_CONF_ENV = DFB_CFLAGS=-I$(STAGING_DIR)/usr/include/directfb
|
|
|
|
LITE_DEPENDENCIES = directfb
|
|
|
|
|
2010-09-01 22:43:20 +02:00
|
|
|
define LITE_FINALIZE_INSTALL
|
2008-08-26 16:52:17 +02:00
|
|
|
$(INSTALL) -d $(TARGET_DIR)/usr/share/LiTE/examples/
|
2008-08-26 17:43:10 +02:00
|
|
|
$(INSTALL) -d $(TARGET_DIR)/usr/share/fonts/truetype/
|
2010-09-01 22:43:20 +02:00
|
|
|
$(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 $(call AUTOTARGETS,package,lite))
|