1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= freetype
- PKG_VERSION:= 2.5.3
- PKG_RELEASE:= 1
- PKG_MD5SUM:= cafe9f210e45360279c730d27bf071e9
- PKG_DESCR:= free, high-quality and portable font engine
- PKG_SECTION:= libs
- PKG_DEPENDS:= zlib
- PKG_BUILDDEP:= zlib freetype-host
- PKG_URL:= http://www.freetype.org/
- PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=freetype/}
- PKG_LIBNAME:= libfreetype
- PKG_OPTS:= dev
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
- ifeq ($(ADK_STATIC),y)
- PKG_OPTS+= libonly
- endif
- include ${TOPDIR}/mk/host.mk
- include ${TOPDIR}/mk/package.mk
- $(eval $(call HOST_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE}))
- $(eval $(call PKG_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- HOST_STYLE:= auto
- HOST_CONFIGURE_ARGS+= --with-zlib \
- --without-png \
- --without-bzip2
- CONFIGURE_ARGS+= --with-zlib \
- --without-png \
- --without-bzip2
- libfreetype-install:
- ${INSTALL_DIR} ${IDIR_LIBFREETYPE}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libfreetype.so* ${IDIR_LIBFREETYPE}/usr/lib
- include ${TOPDIR}/mk/host-bottom.mk
- include ${TOPDIR}/mk/pkg-bottom.mk
|