Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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:= mc
  5. PKG_VERSION:= 4.7.0.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= f48b2c8dd140aeb36f59d16a662f0779
  8. PKG_DESCR:= norton commander clone
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= glib libncurses
  11. PKG_BUILDDEP:= glib ncurses
  12. PKG_URL:= http://www.midnight-commander.org/
  13. PKG_SITES:= http://openadk.org/distfiles/
  14. PKG_NOPARALLEL:= 1
  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_ARGS+= --enable-charset \
  18. --disable-extcharset \
  19. --disable-background \
  20. --disable-gcc-warnings \
  21. --disable-glibtest \
  22. --disable-netcode \
  23. --without-libiconv-prefix \
  24. --without-x \
  25. --with-vfs \
  26. --without-mcfs \
  27. --without-samba \
  28. --without-gpm-mouse \
  29. --with-configdir=/etc \
  30. --without-ext2undel \
  31. --with-subshell \
  32. --with-screen=ncurses \
  33. --with-edit
  34. CONFIGURE_ENV+= mc_cv_have_zipinfo=yes \
  35. am_cv_func_iconv=no
  36. mc-install:
  37. ${INSTALL_DIR} ${IDIR_MC}/etc/mc
  38. ${INSTALL_DIR} ${IDIR_MC}/usr/bin
  39. ${INSTALL_BIN} ${WRKINST}/usr/bin/mc ${IDIR_MC}/usr/bin/
  40. cd ${IDIR_MC}/usr/bin && ln -fs mc mcedit && ln -fs mc mcview
  41. cd ${WRKINST}/etc/mc && ${CP} cedit.menu mc.ext \
  42. mc.lib mc.menu extfs ${IDIR_MC}/etc/mc/
  43. include ${TOPDIR}/mk/pkg-bottom.mk