mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Denis OSTERLAND <denis.osterland@diehl.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] [PATCH] giflib: add new package
Date: Fri, 29 Jun 2018 14:31:02 +0000	[thread overview]
Message-ID: <20180629142928.31283-1-Denis.Osterland@diehl.com> (raw)

Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
---
 rules/giflib.in   | 17 ++++++++++++++
 rules/giflib.make | 59 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)
 create mode 100644 rules/giflib.in
 create mode 100644 rules/giflib.make

diff --git a/rules/giflib.in b/rules/giflib.in
new file mode 100644
index 000000000..335c8cb4d
--- /dev/null
+++ b/rules/giflib.in
@@ -0,0 +1,17 @@
+## SECTION=system_libraries
+
+menuconfig GIFLIB
+	tristate
+	prompt "giflib                        "
+	help
+	  GIFLIB is a package of portable tools and library routines for working with GIF images.
+
+if GIFLIB
+
+config GIFLIB_TOOLS
+	bool "install gif tools"
+	help
+	  giftext gif2rgb gifinto gifecho
+	  gifbuild giftool giffix gifclrmp
+
+endif # GIFLIB
diff --git a/rules/giflib.make b/rules/giflib.make
new file mode 100644
index 000000000..363fa1241
--- /dev/null
+++ b/rules/giflib.make
@@ -0,0 +1,59 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by Denis Osterland <Denis.Osterland@diehl.com>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+PACKAGES-$(PTXCONF_GIFLIB) += giflib
+
+GIFLIB_VERSION       := 5.1.4
+GIFLIB_MD5           := 2c171ced93c0e83bb09e6ccad8e3ba2b
+GIFLIB               := giflib-$(GIFLIB_VERSION)
+GIFLIB_SUFFIX        := tar.bz2
+GIFLIB_URL           := $(call ptx/mirror, SF, giflib/$(GIFLIB).$(GIFLIB_SUFFIX))
+GIFLIB_SOURCE        := $(SRCDIR)/$(GIFLIB).$(GIFLIB_SUFFIX)
+GIFLIB_DIR           := $(BUILDDIR)/$(GIFLIB)
+GIFLIB_LICENSE       := MIT
+GIFLIB_LICENSE_FILES := file://COPYING;md5=ae11c61b04b2917be39b11f78d71519a
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+GIFLIB_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/giflib.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, giflib)
+	@$(call install_fixup, giflib,PRIORITY,optional)
+	@$(call install_fixup, giflib,SECTION,base)
+	@$(call install_fixup, giflib,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
+	@$(call install_fixup, giflib,DESCRIPTION,missing)
+
+	@$(call install_lib, giflib, 0, 0, 0644, libgif)
+
+ifdef GIFLIB_TOOLS
+	@$(call install_copy, giflib, 0, 0, 0755, -, /usr/bin/giftext)
+	@$(call install_copy, giflib, 0, 0, 0755, -, /usr/bin/gif2rgb)
+	@$(call install_copy, giflib, 0, 0, 0755, -, /usr/bin/gifinfo)
+	@$(call install_copy, giflib, 0, 0, 0755, -, /usr/bin/gifecho)
+	@$(call install_copy, giflib, 0, 0, 0755, -, /usr/bin/gifbuild)
+	@$(call install_copy, giflib, 0, 0, 0755, -, /usr/bin/giftool)
+	@$(call install_copy, giflib, 0, 0, 0755, -, /usr/bin/giffix)
+	@$(call install_copy, giflib, 0, 0, 0755, -, /usr/bin/gifclrmp)
+endif
+
+	@$(call install_finish, giflib)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.18.0



Diehl Connectivity Solutions GmbH
Geschäftsführung: Horst Leonberger
Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
Nürnberg: HRB 32315
___________________________________________________________________________________________________

Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by
mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited. 

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2018-06-29 14:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180629142928.31283-1-Denis.Osterland@diehl.com \
    --to=denis.osterland@diehl.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox