summaryrefslogtreecommitdiffstats
path: root/package/dmidecode/dmidecode.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-06-02 06:13:57 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-11 22:43:59 +0200
commit9d3547529b87ce3bddfcdc962e0c9d6d2b2ed9d5 (patch)
tree65e0d8c14cbbd9c0ce34766b13464da3dd9fc60e /package/dmidecode/dmidecode.mk
parent83f43bab374535fe39d93547fb03c52fa45ab0a8 (diff)
downloadbuildroot-novena-9d3547529b87ce3bddfcdc962e0c9d6d2b2ed9d5.tar.gz
buildroot-novena-9d3547529b87ce3bddfcdc962e0c9d6d2b2ed9d5.zip
dmidecode: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dmidecode/dmidecode.mk')
-rw-r--r--package/dmidecode/dmidecode.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/dmidecode/dmidecode.mk b/package/dmidecode/dmidecode.mk
new file mode 100644
index 000000000..a036a7a37
--- /dev/null
+++ b/package/dmidecode/dmidecode.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# dmidecode
+#
+#############################################################
+
+DMIDECODE_VERSION = 2.11
+DMIDECODE_SITE = http://download.savannah.gnu.org/releases/dmidecode/
+
+define DMIDECODE_BUILD_CMDS
+ $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
+endef
+
+define DMIDECODE_INSTALL_TARGET_CMDS
+ $(MAKE) -C $(@D) prefix=/usr DESTDIR=$(TARGET_DIR) install
+endef
+
+$(eval $(call GENTARGETS))