Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. MASTER_SITES= http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,MC,mc,${PKG_VERSION}-${PKG_RELEASE}))
  13. CONFIGURE_STYLE= gnu
  14. CONFIGURE_ARGS+= --disable-charset \
  15. --disable-background \
  16. --disable-gcc-warnings \
  17. --disable-glibtest \
  18. --with-glib12 \
  19. --without-libiconv-prefix \
  20. --without-x \
  21. --with-vfs \
  22. --without-mcfs \
  23. --without-samba \
  24. --without-gpm-mouse \
  25. --with-configdir=/etc \
  26. --without-ext2undel \
  27. --with-subshell \
  28. --with-screen=ncurses \
  29. --with-edit
  30. CONFIGURE_ENV+= mc_cv_have_zipinfo=yes \
  31. am_cv_func_iconv=no
  32. BUILD_STYLE= auto
  33. INSTALL_STYLE= auto
  34. pre-install:
  35. cp ${WRKSRC}/doc/xnc.hlp ${WRKSRC}/doc/mc.hlp
  36. post-install:
  37. ${INSTALL_DIR} ${IDIR_MC}/usr/{bin,share/mc}
  38. ${CP} ${WRKINST}/usr/bin/mc ${IDIR_MC}/usr/bin/
  39. cd ${IDIR_MC}/usr/bin && ln -s mc mcedit && ln -s mc mcview
  40. cd ${WRKINST}/usr/share/mc && ${CP} cedit.menu mc.ext mc.hint \
  41. mc.lib mc.menu syntax extfs ${IDIR_MC}/usr/share/mc/
  42. include ${TOPDIR}/mk/pkg-bottom.mk