Makefile 936 B

12345678910111213141516171819202122232425262728
  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:= sysfsutils
  5. PKG_VERSION:= 2.1.0
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 14e7dcd0436d2f49aa403f67e1ef7ddc
  8. PKG_DESCR:= utilites built upon sysfs
  9. PKG_SECTION:= utils
  10. PKG_URL:= http://linux-diag.sourceforge.net/Sysfsutils.html
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=linux-diag/sysfsutils/2.1.0/}
  12. PKG_OPTS:= dev
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,SYSFSUTILS,sysfsutils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  15. sysfsutils-install:
  16. $(INSTALL_DIR) $(IDIR_SYSFSUTILS)/usr/bin
  17. $(INSTALL_DIR) $(IDIR_SYSFSUTILS)/usr/lib
  18. $(CP) $(WRKINST)/usr/lib/libsysfs.so* \
  19. $(IDIR_SYSFSUTILS)/usr/lib
  20. $(INSTALL_BIN) $(WRKINST)/usr/bin/systool \
  21. $(IDIR_SYSFSUTILS)/usr/bin
  22. include ${TOPDIR}/mk/pkg-bottom.mk