Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= libfontenc
  5. PKG_VERSION:= 1.0.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 0fa1988d08021225d18ced519a30d2b1
  8. PKG_DESCR:= helps to deal with different encodings of fonts
  9. PKG_SECTION:= x11/libs
  10. PKG_DEPENDS:= zlib
  11. PKG_BUILDDEP:= xproto zlib
  12. PKG_SITES:= ${MASTER_SITE_XORG}
  13. PKG_SUBPKGS:= LIBFONTENC LIBFONTENC_DEV
  14. PKGSC_LIBFONTENC_DEV:= devel
  15. PKGSD_LIBFONTENC_DEV:= libfontenc headers
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBFONTENC,libfontenc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBFONTENC_DEV,libfontenc-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBFONTENC_DEV},${PKGSC_LIBFONTENC_DEV}))
  19. libfontenc-install:
  20. ${INSTALL_DIR} ${IDIR_LIBFONTENC}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libfontenc.so* ${IDIR_LIBFONTENC}/usr/lib
  22. libfontenc-dev-install:
  23. ${INSTALL_DIR} ${IDIR_LIBFONTENC_DEV}/usr/include
  24. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBFONTENC_DEV}/usr/include
  25. ${INSTALL_DIR} ${IDIR_LIBFONTENC_DEV}/usr/lib/pkgconfig
  26. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/fontenc.pc \
  27. ${IDIR_LIBFONTENC_DEV}/usr/lib/pkgconfig
  28. include ${TOPDIR}/mk/pkg-bottom.mk