From 7536aeea8a581ad06a49be095347de359be38eb0 Mon Sep 17 00:00:00 2001 From: Chih-Min Chao Date: Fri, 11 Mar 2011 16:13:34 +0800 Subject: package: add libraw package [Peter: use ' = ' rather than ':=' in .mk] Signed-off-by: Chih-Min Chao Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/libraw/Config.in | 10 ++++++++++ package/libraw/libraw.mk | 16 ++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 package/libraw/Config.in create mode 100644 package/libraw/libraw.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index b5a1ee4f6..8e78f0fae 100644 --- a/package/Config.in +++ b/package/Config.in @@ -282,6 +282,7 @@ source "package/libglade/Config.in" source "package/gdk-pixbuf/Config.in" source "package/libgtk2/Config.in" source "package/libpng/Config.in" +source "package/libraw/Config.in" source "package/librsvg/Config.in" source "package/libsvgtiny/Config.in" source "package/libungif/Config.in" 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)) -- cgit v1.2.3