summaryrefslogtreecommitdiff
path: root/package/dmidecode/Makefile
blob: c60fdd70e5e064de4cb74b4dfc5042175cfab612 (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		dmidecode
PKG_VERSION:=		3.0
PKG_RELEASE:=		1
PKG_HASH:=		698d209ec81f88b2685e07943cd61e1ac125d8f4b3f3f22c777f318a56d94edf
PKG_DESCR:=		reports information about your system's hardware
PKG_SECTION:=		sys/hw
PKG_URL:=		http://www.nongnu.org/dmidecode/
PKG_SITES:=		http://download.savannah.gnu.org/releases/dmidecode/

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include $(ADK_TOPDIR)/mk/package.mk

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

CONFIG_STYLE:=		manual

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

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