1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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:= cpufrequtils
  5. PKG_VERSION:= 008
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 52d3e09e47ffef634833f7fab168eccf
  8. PKG_DESCR:= utilities for the Linux kernel cpufreq subsystem
  9. PKG_SECTION:= utils
  10. PKG_URL:= http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
  11. PKG_SITES:= http://www.kernel.org/pub/linux/utils/kernel/cpufreq/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,CPUFREQUTILS,cpufrequtils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. XAKE_FLAGS+= NLS=no
  16. CONFIG_STYLE:= manual
  17. cpufrequtils-install:
  18. $(INSTALL_DIR) $(IDIR_CPUFREQUTILS)/usr/lib
  19. $(CP) $(WRKINST)/usr/lib/libcpufreq.so* \
  20. $(IDIR_CPUFREQUTILS)/usr/lib
  21. $(INSTALL_DIR) $(IDIR_CPUFREQUTILS)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/cpufreq-set \
  23. $(IDIR_CPUFREQUTILS)/usr/bin
  24. $(INSTALL_BIN) $(WRKINST)/usr/bin/cpufreq-info \
  25. $(IDIR_CPUFREQUTILS)/usr/bin
  26. include ${TOPDIR}/mk/pkg-bottom.mk