1
0

Makefile 893 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:= 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. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,DMIDECODE,dmidecode,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
  16. TARGET_LDFLAGS+= -lssp
  17. endif
  18. dmidecode-install:
  19. $(INSTALL_DIR) $(IDIR_DMIDECODE)/usr/sbin
  20. $(INSTALL_BIN) $(WRKINST)/usr/sbin/dmidecode \
  21. $(IDIR_DMIDECODE)/usr/sbin
  22. include ${TOPDIR}/mk/pkg-bottom.mk