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
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
16 PKG_URL
:= http
://www.imagemagick.org
/
17 PKG_SITES
:= http
://www.imagemagick.org
/download
/releases
/
18 PKG_LIBNAME
:= libimagemagick
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 \
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
70 $(INSTALL_DIR
) $(IDIR_CONVERT
)/usr
/bin
71 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/convert
$(IDIR_CONVERT
)/usr
/bin
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