Makefile 892 B

1234567891011121314151617181920212223242526272829
  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. PKG_CFLINE_PM_UTILS:= select BUSYBOX_FLOCK
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,PM_UTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. post-install:
  16. $(INSTALL_DIR) $(IDIR_PM_UTILS)/usr/lib
  17. $(CP) $(WRKINST)/usr/lib/pm-utils \
  18. $(IDIR_PM_UTILS)/usr/lib
  19. $(INSTALL_DIR) $(IDIR_PM_UTILS)/usr/sbin
  20. $(CP) $(WRKINST)/usr/sbin/pm-* \
  21. $(IDIR_PM_UTILS)/usr/sbin
  22. include ${TOPDIR}/mk/pkg-bottom.mk