summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bostandzhyan <jin@mediatomb.org>2007-08-30 12:50:46 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-30 12:50:46 +0000
commitde372333d013c8cf7674c9032a16d29b92f0a7b9 (patch)
tree5e3b33ef0225a7623d5716e30095ffb3951ee523
parent50b6e431ae4b64867b98f5ca4ae38265af863de7 (diff)
image-magick: fix staging and packaging, closes #2892
-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/
+}