summaryrefslogtreecommitdiff
path: root/packages/imagemagick/imagemagick_6.2.9.bb
blob: a403e1a629443b23f7e8137ef1d01a8840058425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
LICENSE = "GPL"
SECTION = "console/utils"
DEPENDS = "tiff"
DESCRIPTION = "ImageMagick is an image convertion tools"

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 binconfig

EXTRA_OECONF="--without-x"
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/
}