summaryrefslogtreecommitdiff
path: root/package/libraw
diff options
context:
space:
mode:
Diffstat (limited to 'package/libraw')
-rw-r--r--package/libraw/Config.in10
-rw-r--r--package/libraw/libraw.mk16
2 files changed, 26 insertions, 0 deletions
diff --git a/package/libraw/Config.in b/package/libraw/Config.in
new file mode 100644
index 000000000..4378ccd3d
--- /dev/null
+++ b/package/libraw/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBRAW
+ bool "libraw"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ libraw is a raw image manipulation library
+
+ http://www.libraw.org/
+
+comment "libraw requires a toolchain with C++ support enabled"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libraw/libraw.mk b/package/libraw/libraw.mk
new file mode 100644
index 000000000..b76fbbe56
--- /dev/null
+++ b/package/libraw/libraw.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# libraw
+#
+#############################################################
+
+LIBRAW_VERSION = 0.13.1
+LIBRAW_SOURCE = LibRaw-$(LIBRAW_VERSION).tar.gz
+LIBRAW_SITE = http://www.libraw.org/data/
+
+LIBRAW_INSTALL_STAGING = YES
+LIBRAW_CONF_OPT += --disable-examples --disable-lcms \
+ --disable-openmp --disable-demosaic-pack-gpl2 \
+ --disable-demosaic-pack-gpl3
+
+$(eval $(call AUTOTARGETS,package,libraw))