Makefile 941 B

12345678910111213141516171819202122232425262728293031
  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:= pm-utils
  5. PKG_VERSION:= 1.4.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 1742a556089c36c3a89eb1b957da5a60
  8. PKG_DESCR:= power management utilities
  9. PKG_SECTION:= utils
  10. PKG_URL:= http://pm-utils.freedesktop.org/
  11. PKG_SITES:= http://pm-utils.freedesktop.org/releases/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. PKG_CFLINE_PM_UTILS:= select BUSYBOX_FLOCK
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,PM_UTILS,pm-utils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. pm-utils-install:
  17. $(INSTALL_DIR) $(IDIR_PM_UTILS)/usr/lib
  18. $(CP) $(WRKINST)/usr/lib/pm-utils \
  19. $(IDIR_PM_UTILS)/usr/lib
  20. $(INSTALL_DIR) $(IDIR_PM_UTILS)/usr/sbin
  21. $(CP) $(WRKINST)/usr/sbin/pm-* \
  22. $(IDIR_PM_UTILS)/usr/sbin
  23. include ${TOPDIR}/mk/pkg-bottom.mk