Skip to contentSkip to conversation

svn commit: trunk/buildroot/package: libungif

Buildroot ulf at uclibc.org 2 participants 2 messages Jul 23, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-07-23 01:23:54 -0700 (Mon, 23 Jul 2007) New Revision: 19203

Log:
All libungif package

Added:
trunk/buildroot/package/libungif/
trunk/buildroot/package/libungif/Config.in
trunk/buildroot/package/libungif/libungif.mk

Modified:
trunk/buildroot/package/Config.in

Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================

buildroot/package/Config.in +1 -0
@@ -287,6 +287,7 @@
 source "package/directfb/Config.in"
 source "package/jpeg/Config.in"
 source "package/libpng/Config.in"
+source "package/libungif/Config.in"
 source "package/sdl/Config.in"
 source "package/tiff/Config.in"
 

Added: trunk/buildroot/package/libungif/Config.in
===================================================================

buildroot/package/libungif/Config.in +7 -0
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBUNGIF
+	bool "libungif"
+	default n
+	help
+	  libungif is a library for handling the uncompressed GIF image format.
+
+	  http://sourceforge.net/projects/libungif

Added: trunk/buildroot/package/libungif/libungif.mk
===================================================================

buildroot/package/libungif/libungif.mk +69 -0

69 lines not on this page · raw message

#1 lore raw
Quoted 9 lines · ulf at uclibc.org

Author: ulf
Date: 2007-07-23 01:23:54 -0700 (Mon, 23 Jul 2007) New Revision: 19203

Added: trunk/buildroot/package/libungif/libungif.mk
===================================================================

buildroot/package/libungif/libungif.mk line 6

Quoted 6 lines
buildroot/package/libungif/libungif.mk +6 -0
@@ -0,0 +1,69 @@
+#############################################################
+#
+# libungif
+#
+#############################################################
+LIBUNGIF_VER:=4.1.4

again..

Quoted 11 lines
buildroot/package/libungif/libungif.mk +11 -0
+LIBUNGIF_SOURCE:=libungif-$(LIBUNGIF_VER).tar.bz2
+LIBUNGIF_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libungif/$(LIBUNGIF_SOURCE)
+LIBUNGIF_DIR:=$(BUILD_DIR)/libungif-$(LIBUNGIF_VER)
+LIBUNGIF_CAT:=$(BZCAT)
+LIBUNGIF_BINARY:=libungif.so.$(LIBUNGIF_VER)
+LIBUNGIF_TARGET_BINARY:=usr/lib/libungif.so
+
+$(DL_DIR)/$(LIBUNGIF_SOURCE):
+	$(WGET) -P $(DL_DIR) $(LIBUNGIF_SITE)/$(LIBUNGIF_SOURCE)
+
+$(LIBUNGIF_DIR)/.unpacked: $(DL_DIR)/$(LIBUNGIF_SOURCE)

buildroot/package/libungif/libungif.mk line 27

Quoted 10 lines
buildroot/package/libungif/libungif.mk +10 -0
+	$(LIBUNGIF_CAT) $(DL_DIR)/$(LIBUNGIF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+	toolchain/patch-kernel.sh $(LIBUNGIF_DIR) package/libungif/ libungif-$(LIBUNGIF_VER)\*.patch\*
+	$(CONFIG_UPDATE) $(LIBUNGIF_DIR)
+	touch $@
+
+$(LIBUNGIF_DIR)/.configured: $(LIBUNGIF_DIR)/.unpacked
+	(cd $(LIBUNGIF_DIR); rm -rf config.cache; \
+		$(TARGET_CONFIGURE_OPTS) \
+		CFLAGS="$(TARGET_CFLAGS)" \
+		LDFLAGS="$(TARGET_LDFLAGS)" \

.. and again

Quoted 11 lines
buildroot/package/libungif/libungif.mk +11 -0
+		./configure \
+		--target=$(GNU_TARGET_NAME) \
+		--host=$(GNU_TARGET_NAME) \
+		--build=$(GNU_HOST_NAME) \
+		--sysconfdir=/etc \
+		--enable-shared \
+		--enable-static \
+		--prefix=/usr \
+		--without-x \
+	);
+	touch $@