arc: use the release for binutils/gcc
[openadk.git] / package / libgd / Makefile
blob443dadcbc17260165f5839e927665e57bcb516af
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:= libgd
7 PKG_VERSION:= 2.1.0
8 PKG_RELEASE:= 2
9 PKG_HASH:= fa6665dfe3d898019671293c84d77067a3d2ede50884dbcb6df899d508370e5a
10 PKG_DESCR:= library for the dynamic creation of images
11 PKG_SECTION:= libs/image
12 PKG_DEPENDS:= libpng libjpeg-turbo
13 PKG_BUILDDEP:= libpng libjpeg-turbo
14 PKG_URL:= http://www.libgd.org/
15 PKG_SITES:= https://bitbucket.org/libgd/gd-libgd/downloads/
16 PKG_LIBNAME:= libgd
17 PKG_OPTS:= dev
19 include ${ADK_TOPDIR}/mk/package.mk
21 $(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
23 CONFIGURE_ARGS+= --without-x \
24 --without-freetype \
25 --with-jpeg=${STAGING_TARGET_DIR}/usr \
26 --with-png=${STAGING_TARGET_DIR}/usr \
27 --without-tiff \
28 --without-vpx \
29 --without-xpm
31 libgd-install:
32 ${INSTALL_DIR} ${IDIR_LIBGD}/usr/lib
33 ${CP} ${WRKINST}/usr/lib/libgd.so* ${IDIR_LIBGD}/usr/lib
35 include ${ADK_TOPDIR}/mk/pkg-bottom.mk