svn commit: trunk/buildroot/package: lite
Author: laird
Date: 2008-08-26 07:52:17 -0700 (Tue, 26 Aug 2008) New Revision: 23208
Log:
Adds support for building LiTE - see DirectFB.org
Will close bug 0003974
Daniel Laird
Added:
trunk/buildroot/package/lite/
trunk/buildroot/package/lite/Config.in
trunk/buildroot/package/lite/lite.mk
trunk/buildroot/package/lite/no_tests.patch
Modified:
trunk/buildroot/package/Config.in
Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================
buildroot/package/Config.in +1 -0
@@ -329,6 +329,7 @@ source "package/libart/Config.in" source "package/libpng/Config.in" source "package/libungif/Config.in" +source "package/lite/Config.in" source "package/sdl/Config.in" source "package/sdl_image/Config.in" source "package/sdl_mixer/Config.in"
Added: trunk/buildroot/package/lite/Config.in
===================================================================
buildroot/package/lite/Config.in +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_LITE + bool "LiTE (toolbox engine)" + depends on BR2_PACKAGE_DIRECTFB + help + LiTE stands for LiTE is a Toolbox Engine. + Its role is to facilitate the functions of DirectFB so that a + toolbox could be written on top of DirectFB with less effort. + As such LiTE has abstractions for the underlying graphics and + event systems. + + See http://www.directfb.org/wiki/index.php/LiTE:Architecture +
Added: trunk/buildroot/package/lite/lite.mk
===================================================================
buildroot/package/lite/lite.mk +25 -0
@@ -0,0 +1,25 @@ +############################################################# +# +# LiTE +# +############################################################# +LITE_VERSION:=0.8.9 +LITE_SOURCE:=LiTE-$(LITE_VERSION).tar.gz +LITE_SITE:=http://www.directfb.org/downloads/Libs +LITE_AUTORECONF = NO +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_CONF_OPT = +LITE_DEPENDENCIES = directfb + +$(eval $(call AUTOTARGETS,package,lite)) + +$(LITE_HOOK_POST_INSTALL): + $(INSTALL) -d $(TARGET_DIR)/usr/share/LiTE/examples/ + $(INSTALL) -d $(TARGET_DIR)/usr/share/fonts/truetype + $(INSTALL) -m0644 $(LITE_DIR)/data/*.png $(TARGET_DIR)/usr/share/LiTE/ + $(INSTALL) -m0644 $(LITE_DIR)/examples/*.png $(TARGET_DIR)/usr/share/LiTE/examples/ + $(INSTALL) -m0644 $(LITE_DIR)/fonts/*.ttf $(TARGET_DIR)/usr/share/fonts/truetype/ + touch $@
Added: trunk/buildroot/package/lite/no_tests.patch
===================================================================
buildroot/package/lite/no_tests.patch +14 -0
@@ -0,0 +1,14 @@ +--- package/lite/no-examples-no-tests.patch (revision 0) ++++ package/lite/no-examples-no-tests.patch (revision 0) +@@ -0,0 +1,11 @@ +--- Makefile.in.orig 2008-07-07 13:07:12.000000000 +0200 ++++ Makefile.in 2008-07-07 13:07:05.000000000 +0200 +@@ -202,7 +202,7 @@ + target_vendor = @target_vendor@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = data fonts lite leck examples tests ++SUBDIRS = data fonts lite leck examples + EXTRA_DIST = TODO lite.pc.in leck.pc.in + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = lite.pc leck.pc
buildroot/package/lite/lite.mk line 24
Quoted 10 lines · laird at uclibc.org
Author: laird
Date: 2008-08-26 07:52:17 -0700 (Tue, 26 Aug 2008) New Revision: 23208+$(LITE_HOOK_POST_INSTALL):
buildroot/package/lite/lite.mk +5
-0+ $(INSTALL) -d $(TARGET_DIR)/usr/share/LiTE/examples/ + $(INSTALL) -d $(TARGET_DIR)/usr/share/fonts/truetype + $(INSTALL) -m0644 $(LITE_DIR)/data/*.png $(TARGET_DIR)/usr/share/LiTE/ + $(INSTALL) -m0644 $(LITE_DIR)/examples/*.png $(TARGET_DIR)/usr/share/LiTE/examples/ + $(INSTALL) -m0644 $(LITE_DIR)/fonts/*.ttf $(TARGET_DIR)/usr/share/fonts/truetype/
trailing junk at the line above. I suggest you configure your editor to highlight those.
buildroot/package/lite/no_tests.patch line 2
Quoted 10 lines
buildroot/package/lite/lite.mk +1
-0+ touch $@Added:
trunk/buildroot/package/lite/no_tests.patch
===================================================================buildroot/package/lite/no_tests.patch +2
-0@@ -0,0 +1,14 @@ +--- package/lite/no-examples-no-tests.patch (revision 0) ++++ package/lite/no-examples-no-tests.patch (revision 0)
the hunk above is cruft, isn't it?
Quoted 12 lines
buildroot/package/lite/no_tests.patch +12
-0+@@ -0,0 +1,11 @@ +--- Makefile.in.orig 2008-07-07 13:07:12.000000000 +0200 ++++ Makefile.in 2008-07-07 13:07:05.000000000 +0200 +@@ -202,7 +202,7 @@ + target_vendor = @target_vendor@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = data fonts lite leck examples tests ++SUBDIRS = data fonts lite leck examples + EXTRA_DIST = TODO lite.pc.in leck.pc.in + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = lite.pc leck.pc