Makefile 988 B

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