1
0

Makefile 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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:= procps
  5. PKG_VERSION:= 3.2.8
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 11ed68d8a4433b91cd833deb714a3aa849c02aea738c42e6b4557982419c1535
  8. PKG_DESCR:= /proc file system utilities
  9. PKG_SECTION:= base/apps
  10. PKG_DEPENDS:= libncurses
  11. PKG_BUILDDEP:= ncurses
  12. PKG_URL:= http://procps.sourceforge.net/
  13. PKG_SITES:= http://procps.sourceforge.net/
  14. PKG_BB:= 1
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,PROCPS,procps,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIG_STYLE:= manual
  19. TARGET_LDFLAGS+= -ltinfo
  20. procps-install:
  21. ${INSTALL_DIR} ${IDIR_PROCPS}/{bin,sbin,usr/bin}
  22. ${INSTALL_BIN} ${WRKINST}/usr/bin/uptime ${IDIR_PROCPS}/usr/bin
  23. ${INSTALL_BIN} ${WRKINST}/usr/bin/tload ${IDIR_PROCPS}/usr/bin
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/free ${IDIR_PROCPS}/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/w ${IDIR_PROCPS}/usr/bin
  26. ${INSTALL_BIN} ${WRKINST}/usr/bin/top ${IDIR_PROCPS}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/vmstat ${IDIR_PROCPS}/usr/bin
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/watch ${IDIR_PROCPS}/usr/bin
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/pmap ${IDIR_PROCPS}/usr/bin
  30. ${INSTALL_BIN} ${WRKINST}/usr/bin/pgrep ${IDIR_PROCPS}/usr/bin
  31. ${INSTALL_BIN} ${WRKINST}/usr/bin/slabtop ${IDIR_PROCPS}/usr/bin
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/pwdx ${IDIR_PROCPS}/usr/bin
  33. ${INSTALL_BIN} ${WRKINST}/bin/kill ${IDIR_PROCPS}/bin
  34. ${INSTALL_BIN} ${WRKINST}/bin/ps ${IDIR_PROCPS}/bin
  35. ${INSTALL_BIN} ${WRKINST}/sbin/sysctl ${IDIR_PROCPS}/sbin
  36. cd ${IDIR_PROCPS}/usr/bin; \
  37. ln -sf ../../bin/kill skill; \
  38. ln -sf ../../bin/kill snice; \
  39. ln -sf pgrep pkill
  40. include ${ADK_TOPDIR}/mk/pkg-bottom.mk