Makefile 903 B

123456789101112131415161718192021222324252627
  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:= 1
  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. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,SYSFSUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. post-install:
  15. $(INSTALL_DIR) $(IDIR_SYSFSUTILS)/usr/bin
  16. $(INSTALL_DIR) $(IDIR_SYSFSUTILS)/usr/lib
  17. $(CP) $(WRKINST)/usr/lib/libsysfs.so* \
  18. $(IDIR_SYSFSUTILS)/usr/lib
  19. $(INSTALL_BIN) $(WRKINST)/usr/bin/systool \
  20. $(IDIR_SYSFSUTILS)/usr/bin
  21. include ${TOPDIR}/mk/pkg-bottom.mk