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
:= p5-image-scale
9 PKG_HASH
:= 5b2c92dc2dd635b488879461760cd251aa2b1feef41b64f17914a6e4bbe3e442
10 PKG_DESCR
:= fast
, high-quality fixed-point image resizing
11 PKG_SECTION
:= dev
/perl
12 PKG_DEPENDS
:= perl libjpeg-turbo zlib libpng giflib
13 PKG_BUILDDEP
:= perl-host perl libjpeg-turbo zlib libpng giflib
14 PKG_SITES
:= http
://cpan.metacpan.org
/authors
/id
/A
/AG
/AGRUNDMA
/
16 DISTFILES
:= Image-Scale-
${PKG_VERSION}.
tar.gz
17 WRKDIST
= ${WRKDIR}/Image-Scale-
${PKG_VERSION}
19 include $(ADK_TOPDIR
)/mk
/package.mk
21 $(eval
$(call PKG_template
,P5_IMAGE_SCALE
,p5-image-scale
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 include $(ADK_TOPDIR
)/mk
/perl.mk
26 XAKE_FLAGS
+= $(PERL_ENV
)
27 CONFIGURE_ARGS
+= --with-jpeg-includes
=${STAGING_TARGET_DIR}/usr
/include \
28 --with-jpeg-libs
=${STAGING_TARGET_DIR}/usr
/lib \
29 --with-png-includes
=${STAGING_TARGET_DIR}/usr
/include \
30 --with-png-libs
=${STAGING_TARGET_DIR}/usr
/lib \
31 --with-gif-includes
=${STAGING_TARGET_DIR}/usr
/include \
32 --with-gif-libs
=${STAGING_TARGET_DIR}/usr
/lib
34 p5-image-scale-install
:
35 $(INSTALL_DIR
) $(IDIR_P5_IMAGE_SCALE
)$(PERL_SITEDIR
)
36 $(CP
) $(WRKINST
)$(PERL_SITEDIR
)/* \
37 $(IDIR_P5_IMAGE_SCALE
)$(PERL_SITEDIR
)
39 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk