Makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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:= procps
  7. PKG_VERSION:= 3.2.7
  8. PKG_RELEASE:= 4
  9. PKG_MD5SUM:= f490bca772b16472962c7b9f23b1e97d
  10. PKG_DESCR:= The /proc file system utilities
  11. PKG_SECTION:= utils
  12. PKG_DEPENDS:= libncurses
  13. PKG_URL:= http://procps.sourceforge.net
  14. PKG_SITES:= http://procps.sourceforge.net/
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,PROCPS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. BUILD_STYLE:= auto
  18. INSTALL_STYLE:= auto
  19. post-install:
  20. ${INSTALL_DIR} ${IDIR_PROCPS}/{bin,sbin,usr/bin}
  21. ${INSTALL_BIN} ${WRKINST}/usr/bin/uptime ${IDIR_PROCPS}/usr/bin
  22. ${INSTALL_BIN} ${WRKINST}/usr/bin/tload ${IDIR_PROCPS}/usr/bin
  23. ${INSTALL_BIN} ${WRKINST}/usr/bin/free ${IDIR_PROCPS}/usr/bin
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/w ${IDIR_PROCPS}/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/top ${IDIR_PROCPS}/usr/bin
  26. ${INSTALL_BIN} ${WRKINST}/usr/bin/vmstat ${IDIR_PROCPS}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/watch ${IDIR_PROCPS}/usr/bin
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/pmap ${IDIR_PROCPS}/usr/bin
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/pgrep ${IDIR_PROCPS}/usr/bin
  30. ${INSTALL_BIN} ${WRKINST}/usr/bin/slabtop ${IDIR_PROCPS}/usr/bin
  31. ${INSTALL_BIN} ${WRKINST}/usr/bin/pwdx ${IDIR_PROCPS}/usr/bin
  32. ${INSTALL_BIN} ${WRKINST}/bin/kill ${IDIR_PROCPS}/bin
  33. ${INSTALL_BIN} ${WRKINST}/bin/ps ${IDIR_PROCPS}/bin
  34. ${INSTALL_BIN} ${WRKINST}/sbin/sysctl ${IDIR_PROCPS}/sbin
  35. cd ${IDIR_PROCPS}/usr/bin; \
  36. ln -sf ../../bin/kill skill; \
  37. ln -sf ../../bin/kill snice; \
  38. ln -sf pgrep pkill
  39. ${INSTALL_BIN} killall ${IDIR_PROCPS}/usr/bin/
  40. include ${TOPDIR}/mk/pkg-bottom.mk