summaryrefslogtreecommitdiff
path: root/packages/imagemagick/imagemagick_6.2.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/imagemagick/imagemagick_6.2.9.bb')
-rw-r--r--packages/imagemagick/imagemagick_6.2.9.bb13
1 files changed, 12 insertions, 1 deletions
diff --git a/packages/imagemagick/imagemagick_6.2.9.bb b/packages/imagemagick/imagemagick_6.2.9.bb
index 33748a005e..a403e1a629 100644
--- a/packages/imagemagick/imagemagick_6.2.9.bb
+++ b/packages/imagemagick/imagemagick_6.2.9.bb
@@ -7,8 +7,9 @@ SRC_URI = "ftp://ftp.nluug.nl/pub/ImageMagick/ImageMagick-${PV}-2.tar.bz2 \
file://PerlMagic_MakePatch;patch=1"
S = "${WORKDIR}/ImageMagick-${PV}"
+PR="r1"
-inherit autotools
+inherit autotools binconfig
EXTRA_OECONF="--without-x"
EXTRA_OECONF_openprotium="--without-x --without-xml --without-perl"
@@ -16,7 +17,17 @@ EXTRA_OECONF_openprotium="--without-x --without-xml --without-perl"
LEAD_SONAME="libMagick.so.*"
FILES_${PN} += "${libdir}/ImageMagick-${PV}/modules-Q16/*/*.so \
+ ${libdir}/ImageMagick-${PV}/modules-Q16/*/*.la \
${libdir}/ImageMagick-${PV}/config/ \
${datadir}/ImageMagick-${PV}"
FILES_${PN}-dbg += "${libdir}/ImageMagick-${PV}/modules-Q16/*/.debug/*"
+
+do_stage() {
+ oe_libinstall -so -a libMagick ${STAGING_LIBDIR}
+ oe_libinstall -so -a libWand ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/wand/
+ install -d ${STAGING_INCDIR}/magick/
+ install -m 0644 wand/*.h ${STAGING_INCDIR}/wand/
+ install -m 0644 magick/*.h ${STAGING_INCDIR}/magick/
+}