Signed-off-by: Markus Pargmann <[email protected]>
---
 rules/libexif.in   |  7 +++++++
 rules/libexif.make | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 rules/libexif.in
 create mode 100644 rules/libexif.make

diff --git a/rules/libexif.in b/rules/libexif.in
new file mode 100644
index 000000000000..a9259d8b45d4
--- /dev/null
+++ b/rules/libexif.in
@@ -0,0 +1,7 @@
+## SECTION=system_libraries
+
+config LIBEXIF
+       tristate
+       prompt "libexif"
+       help
+         libexif is a library to support reading and writing EXIF 
metainformation
diff --git a/rules/libexif.make b/rules/libexif.make
new file mode 100644
index 000000000000..5c038de4c7b1
--- /dev/null
+++ b/rules/libexif.make
@@ -0,0 +1,59 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Markus Pargmann <[email protected]>
+#
+# 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.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBEXIF) += libexif
+
+#
+# Paths and names
+#
+LIBEXIF_VERSION                := 0.6.21
+LIBEXIF_MD5            := 27339b89850f28c8f1c237f233e05b27
+LIBEXIF                        := libexif-$(LIBEXIF_VERSION)
+LIBEXIF_SUFFIX         := tar.bz2
+LIBEXIF_URL            := 
http://sourceforge.net/projects/libexif/files/libexif/$(LIBEXIF_VERSION)/$(LIBEXIF).$(LIBEXIF_SUFFIX)
+LIBEXIF_SOURCE         := $(SRCDIR)/$(LIBEXIF).$(LIBEXIF_SUFFIX)
+LIBEXIF_DIR            := $(BUILDDIR)/$(LIBEXIF)
+LIBEXIF_LICENSE                := unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+LIBEXIF_CONF_TOOL      := autoconf
+LIBEXIF_CONF_OPT       := \
+       $(CROSS_AUTOCONF_USR) \
+       --disable-docs \
+       --disable-internal-docs \
+       --disable-nls \
+       --disable-rpath
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libexif.targetinstall:
+       @$(call targetinfo)
+
+       @$(call install_init, libexif)
+       @$(call install_fixup, libexif,PRIORITY,optional)
+       @$(call install_fixup, libexif,SECTION,base)
+       @$(call install_fixup, libexif,AUTHOR,"Markus Pargmann 
<[email protected]>")
+       @$(call install_fixup, libexif,DESCRIPTION,missing)
+
+       @$(call install_lib, libexif, 0, 0, 0644, libexif)
+
+       @$(call install_finish, libexif)
+
+       @$(call touch)
+
+# vim: syntax=make
-- 
2.1.3


-- 
ptxdist mailing list
[email protected]

Reply via email to