Makefile 1.0 KB

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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= sysfsutils
  5. PKG_VERSION:= 2.1.0
  6. PKG_RELEASE:= 3
  7. PKG_HASH:= e865de2c1f559fff0d3fc936e660c0efaf7afe662064f2fb97ccad1ec28d208a
  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 $(ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk