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.4.4
- PKG_RELEASE:= 1
- PKG_MD5SUM:= 9273efacffb683483e58a9e113efae9f
- PKG_DESCR:= A free, high-quality and portable font engine
- PKG_SECTION:= libs
- PKG_DEPENDS:= zlib
- PKG_BUILDDEP:= zlib
- PKG_URL:= http://www.freetype.org/
- PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=freetype/}
- PKG_SUBPKGS:= LIBFREETYPE LIBFREETYPE_DEV
- PKGSD_LIBFREETYPE_DEV:= FreeType headers
- PKGSC_LIBFREETYPE_DEV:= devel
- ifeq ($(ADK_STATIC),y)
- PKG_OPTS:= libonly
- endif
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- $(eval $(call PKG_template,LIBFREETYPE_DEV,libfreetype-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBFREETYPE_DEV},${PKGSC_LIBFREETYPE_DEV},${PKG_OPTS}))
- libfreetype-install:
- ${INSTALL_DIR} ${IDIR_LIBFREETYPE}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libfreetype.so* ${IDIR_LIBFREETYPE}/usr/lib
- libfreetype-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBFREETYPE_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBFREETYPE_DEV}/usr/include
- ${INSTALL_DIR} ${IDIR_LIBFREETYPE_DEV}/usr/lib/pkgconfig
- ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/freetype2.pc \
- ${IDIR_LIBFREETYPE_DEV}/usr/lib/pkgconfig
- ${INSTALL_DIR} ${IDIR_LIBFREETYPE_DEV}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/freetype-config \
- ${IDIR_LIBFREETYPE_DEV}/usr/bin
- include ${TOPDIR}/mk/pkg-bottom.mk
|