summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-01-05 01:18:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-06 11:53:44 +0100
commit8bda2592cdf86248206f150625dd065d74befef7 (patch)
tree03eb7a602d5518ca291b7ef3caa9923945242044
parenta48246503550dfb7d818b110432f13334e211659 (diff)
package: Port libexif
Needed by upcoming minidlna package. Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r--package/libexif/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/libexif/Makefile b/package/libexif/Makefile
new file mode 100644
index 000000000..f22edca4f
--- /dev/null
+++ b/package/libexif/Makefile
@@ -0,0 +1,27 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= libexif
+PKG_VERSION:= 0.6.24
+PKG_RELEASE:= 1
+PKG_HASH:= d47564c433b733d83b6704c70477e0a4067811d184ec565258ac563d8223f6ae
+PKG_DESCR:= Library for parsing, editing, and saving EXIF data
+PKG_SECTION:= libs/image
+PKG_URL:= https://libexif.github.io/
+PKG_SITES:= https://github.com/libexif/libexif/releases/download/v${PKG_VERSION}/
+PKG_OPTS:= dev
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBEXIF,libexif,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+libexif-install:
+ $(INSTALL_DIR) $(IDIR_LIBEXIF)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libexif*.so* \
+ $(IDIR_LIBEXIF)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk