Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME= mc
  7. PKG_VERSION= 4.6.1
  8. PKG_RELEASE= 1
  9. PKG_MD5SUM= 18b20db6e40480a53bac2870c56fc3c4
  10. PKG_DESCR:= norton commander clone
  11. PKG_SECTION:= misc
  12. PKG_DEPENDS:= libncurses glib2
  13. PKG_URL:= http://www.midnight-commander.org
  14. PKG_SITES= http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,MC,mc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_STYLE= gnu
  18. CONFIGURE_ARGS+= --disable-charset \
  19. --disable-background \
  20. --disable-gcc-warnings \
  21. --disable-glibtest \
  22. --without-libiconv-prefix \
  23. --without-x \
  24. --with-vfs \
  25. --without-mcfs \
  26. --without-samba \
  27. --without-gpm-mouse \
  28. --with-configdir=/etc \
  29. --without-ext2undel \
  30. --with-subshell \
  31. --with-screen=ncurses \
  32. --with-edit
  33. CONFIGURE_ENV+= mc_cv_have_zipinfo=yes \
  34. am_cv_func_iconv=no
  35. BUILD_STYLE= auto
  36. INSTALL_STYLE= auto
  37. pre-install:
  38. cp ${WRKSRC}/doc/xnc.hlp ${WRKSRC}/doc/mc.hlp
  39. post-install:
  40. ${INSTALL_DIR} ${IDIR_MC}/usr/{bin,share/mc}
  41. ${CP} ${WRKINST}/usr/bin/mc ${IDIR_MC}/usr/bin/
  42. cd ${IDIR_MC}/usr/bin && ln -s mc mcedit && ln -s mc mcview
  43. cd ${WRKINST}/usr/share/mc && ${CP} cedit.menu mc.ext mc.hint \
  44. mc.lib mc.menu syntax extfs ${IDIR_MC}/usr/share/mc/
  45. include ${TOPDIR}/mk/pkg-bottom.mk