summaryrefslogtreecommitdiff
path: root/package/libraw
diff options
context:
space:
mode:
authorChih-Min Chao <cmchao@gmail.com>2011-03-11 16:13:34 +0800
committerPeter Korsgaard <jacmet@sunsite.dk>2011-04-26 15:02:49 +0200
commit7536aeea8a581ad06a49be095347de359be38eb0 (patch)
tree8938e2b672593165f04add8c7acd9700d5b2f6f5 /package/libraw
parent5dd48b983d3dcf09d10720519ad9919ec4aa3e9c (diff)
package: add libraw package
[Peter: use ' = ' rather than ':=' in .mk] Signed-off-by: Chih-Min Chao <cmchao@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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))