python3: update to 3.11.10
[openadk.git] / package / ImageMagick / Makefile
blobaca4f647fa17718b3274177614d59d61707f82b8
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= ImageMagick
7 PKG_VERSION:= 7.1.1
8 PKG_EXTRAVER:= 29
9 PKG_RELEASE:= 1
10 PKG_HASH:= f140465fbeb0b4724cba4394bc6f6fb32715731c1c62572d586f4f1c8b9b0685
11 PKG_DESCR:= image processing and converting utility
12 PKG_SECTION:= mm/image
13 PKG_BUILDDEP:= libpng libjpeg-turbo libtiff fontconfig
14 PKG_BUILDDEP+= pango libtool e2fsprogs
15 PKG_NEEDS:= c++
16 PKG_URL:= http://www.imagemagick.org/
17 PKG_SITES:= http://www.imagemagick.org/download/releases/
18 PKG_LIBNAME:= libimagemagick
19 PKG_OPTS:= dev
21 PKG_ARCH_DEPENDS:= !m68k
23 PKG_SUBPKGS:= CONVERT DISPLAY LIBIMAGEMAGICK
24 PKGSD_LIBIMAGEMAGICK:= imagemagick library
25 PKGSC_LIBIMAGEMAGICK:= libs/image
26 PKGSS_LIBIMAGEMAGICK:= libjpeg-turbo libtiff libpng
27 PKGSD_CONVERT:= image processing and converting utility
28 PKGSC_CONVERT:= mm/image
29 PKGSS_CONVERT:= libimagemagick
30 PKGSD_DISPLAY:= image display application
31 PKGSC_DISPLAY:= mm/image
32 PKGSS_DISPLAY:= libimagemagick libX11 libXau libXdmcp libICE libSM fontconfig libXt zlib libpng libltdl
33 PKGSB_DISPLAY:= libX11
35 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-${PKG_EXTRAVER}.tar.xz
36 WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-${PKG_EXTRAVER}
38 include $(ADK_TOPDIR)/mk/package.mk
40 $(eval $(call PKG_template,LIBIMAGEMAGICK,libimagemagick,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBIMAGEMAGICK},${PKGSC_LIBIMAGEMAGICK},${PKG_OPTS}))
41 $(eval $(call PKG_template,CONVERT,convert,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_CONVERT},${PKGSD_CONVERT},${PKGSC_CONVERT}))
42 $(eval $(call PKG_template,DISPLAY,display,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_DISPLAY},${PKGSD_DISPLAY},${PKGSC_DISPLAY}))
44 CONFIGURE_ENV+= ac_cv_sys_file_offset_bits=yes
45 CONFIGURE_ARGS+= --with-magick-plus-plus=no \
46 --without-gslib \
47 --without-dps \
48 --without-perl \
49 --without-djvu \
50 --without-lcms \
51 --without-lcms2 \
52 --without-wmf \
53 --without-xml \
54 --without-lzma \
55 --with-jpeg \
56 --with-png \
57 --with-tiff \
58 --enable-fast-install
60 libimagemagick-install:
61 $(INSTALL_DIR) $(IDIR_LIBIMAGEMAGICK)/usr/lib/${PKG_NAME}-${PKG_VERSION}
62 $(CP) $(WRKINST)/usr/lib/${PKG_NAME}-${PKG_VERSION}/* \
63 $(IDIR_LIBIMAGEMAGICK)/usr/lib/${PKG_NAME}-${PKG_VERSION}/
64 $(CP) $(WRKINST)/usr/lib/libMagickCore*.so* \
65 $(IDIR_LIBIMAGEMAGICK)/usr/lib
66 $(CP) $(WRKINST)/usr/lib/libMagickWand*.so* \
67 $(IDIR_LIBIMAGEMAGICK)/usr/lib
69 convert-install:
70 $(INSTALL_DIR) $(IDIR_CONVERT)/usr/bin
71 $(INSTALL_BIN) $(WRKINST)/usr/bin/convert $(IDIR_CONVERT)/usr/bin
73 display-install:
74 $(INSTALL_DIR) $(IDIR_DISPLAY)/usr/bin
75 $(INSTALL_BIN) $(WRKINST)/usr/bin/display $(IDIR_DISPLAY)/usr/bin
77 include ${ADK_TOPDIR}/mk/pkg-bottom.mk