Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= joe
  5. PKG_VERSION:= 3.7
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 66de1b073e869ba12abbfcde3885c577
  8. PKG_DESCR:= JOE - Joe's Own Editor
  9. PKG_SECTION:= editor
  10. PKG_URL:= http://joe-editor.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=joe-editor/}
  12. PKG_FLAVOURS_JOE:= LANGUAGE SYNTAX
  13. PKGFD_LANGUAGE:= Install translation files
  14. PKGFD_SYNTAX:= Install syntax highlighting files
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,JOE,joe,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. joe-install:
  18. ${INSTALL_DIR} ${IDIR_JOE}/usr/bin
  19. ${INSTALL_DIR} ${IDIR_JOE}/etc/joe
  20. ${CP} ${WRKINST}/usr/bin/* ${IDIR_JOE}/usr/bin
  21. ${CP} ${WRKINST}/etc/joe/* ${IDIR_JOE}/etc/joe
  22. ifeq (${ADK_PACKAGE_JOE_LANGUAGE},y)
  23. ${INSTALL_DIR} ${IDIR_JOE}/usr/share/joe/lang
  24. ${CP} ${WRKINST}/usr/share/joe/lang/* ${IDIR_JOE}/usr/share/joe/lang
  25. endif
  26. ifeq (${ADK_PACKAGE_JOE_SYNTAX},y)
  27. ${INSTALL_DIR} ${IDIR_JOE}/usr/share/joe/syntax
  28. ${INSTALL_DIR} ${IDIR_JOE}/usr/share/joe/charmaps
  29. ${CP} ${WRKINST}/usr/share/joe/syntax/* ${IDIR_JOE}/usr/share/joe/syntax
  30. ${CP} ${WRKINST}/usr/share/joe/charmaps/* ${IDIR_JOE}/usr/share/joe/charmaps
  31. endif
  32. include ${TOPDIR}/mk/pkg-bottom.mk