Makefile 937 B

1234567891011121314151617181920212223242526272829303132
  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:= dmidecode
  5. PKG_VERSION:= 2.11
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 9fddbbc3e330bee5950b8b5d424a57cb
  8. PKG_DESCR:= reports information about your system's hardware
  9. PKG_SECTION:= misc
  10. PKG_URL:= http://www.nongnu.org/dmidecode/
  11. PKG_SITES:= http://download.savannah.gnu.org/releases/dmidecode/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,DMIDECODE,dmidecode,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. ifeq ($(ADK_TOOLCHAIN_USE_SSP),y)
  17. TARGET_LDFLAGS+= -lssp
  18. endif
  19. dmidecode-install:
  20. $(INSTALL_DIR) $(IDIR_DMIDECODE)/usr/sbin
  21. $(INSTALL_BIN) $(WRKINST)/usr/sbin/dmidecode \
  22. $(IDIR_DMIDECODE)/usr/sbin
  23. include ${TOPDIR}/mk/pkg-bottom.mk