Makefile 1.4 KB

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