summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick-6.4.4/PerlMagic_MakePatch.patch11
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb34
2 files changed, 45 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick-6.4.4/PerlMagic_MakePatch.patch b/meta-oe/recipes-support/imagemagick/imagemagick-6.4.4/PerlMagic_MakePatch.patch
new file mode 100644
index 000000000..f8ad0afc5
--- /dev/null
+++ b/meta-oe/recipes-support/imagemagick/imagemagick-6.4.4/PerlMagic_MakePatch.patch
@@ -0,0 +1,11 @@
1--- /tmp/Makefile.PL.in 2008-10-01 10:39:38.000000000 +0200
2+++ ImageMagick-6.4.4/PerlMagick/Makefile.PL.in 2008-10-01 10:40:25.000000000 +0200
3@@ -87,6 +87,8 @@
4
5 # Use same compiler as ImageMagick
6 'PERLMAINCC' => '@PERLMAINCC@ @OPENMP_CFLAGS@',
7+ 'AR' => '@AR@',
8+ 'LD' => '@PERLMAINCC@',
9
10 # Set Perl installation prefix to ImageMagick installation prefix
11 # 'PREFIX' => '@prefix@',
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb b/meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb
new file mode 100644
index 000000000..40f9736cc
--- /dev/null
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb
@@ -0,0 +1,34 @@
1DESCRIPTION = "ImageMagick is an image convertion tools"
2SECTION = "console/utils"
3LICENSE = "ImageMagick"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=e1ebcc1358b9f81eba64255fc5da6892"
5# FIXME: There is much more checked libraries. All should be added or explicitly disabled to get consistent results.
6DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib"
7
8PR = "r7"
9
10PATCHSET = "1"
11SRC_URI = "ftp://ftp.nluug.nl/pub/ImageMagick/ImageMagick-${PV}-${PATCHSET}.tar.bz2 \
12 file://PerlMagic_MakePatch.patch \
13 "
14SRC_URI[md5sum] = "882ff241f6ad39655541d5055596f93b"
15SRC_URI[sha256sum] = "5a5b2779707bfd9816cf17d8f53d242c05005092da192a898ac10961b3b19dda"
16
17S = "${WORKDIR}/ImageMagick-${PV}"
18
19inherit autotools binconfig pkgconfig
20
21EXTRA_OECONF = "--program-prefix= --without-x --without-freetype --without-perl --disable-openmp"
22
23FILES_${PN} += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/*.so \
24 ${libdir}/ImageMagick-${IMVER}/modules-Q16/*/*.la \
25 ${libdir}/ImageMagick-${IMVER}/config/ \
26 ${datadir}/ImageMagick-${IMVER}"
27
28FILES_${PN}-dev += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/*.a"
29
30FILES_${PN}-dbg += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/.debug/*"
31
32BBCLASSEXTEND = "native"
33
34LEAD_SONAME = "libMagickCore.so.*"