summaryrefslogtreecommitdiff
path: root/package/dmidecode/Makefile
blob: 4eb004dc78da2c3219c0de38e973fe2bd0eb0c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		dmidecode
PKG_VERSION:=		2.11
PKG_RELEASE:=		1
PKG_MD5SUM:=		9fddbbc3e330bee5950b8b5d424a57cb
PKG_DESCR:=		reports information about your system's hardware
PKG_SECTION:=		misc
PKG_URL:=		http://www.nongnu.org/dmidecode/
PKG_SITES:=		http://download.savannah.gnu.org/releases/dmidecode/

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,DMIDECODE,dmidecode,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual

ifeq ($(ADK_TOOLCHAIN_USE_SSP),y)
TARGET_LDFLAGS+=        -lssp
endif

dmidecode-install:
	$(INSTALL_DIR) $(IDIR_DMIDECODE)/usr/sbin
	$(INSTALL_BIN) $(WRKINST)/usr/sbin/dmidecode \
		$(IDIR_DMIDECODE)/usr/sbin

include ${TOPDIR}/mk/pkg-bottom.mk