Patchwork [3/6] libatasmart: new package.

login
register
mail settings
Submitter Marek Belisko
Date Dec. 21, 2012, 9:51 p.m.
Message ID <1356126670-16186-4-git-send-email-marek.belisko@open-nandra.com>
Download mbox | patch
Permalink /patch/207889/
State Superseded
Headers show

Comments

Marek Belisko - Dec. 21, 2012, 9:51 p.m.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 package/Config.in                  |    1 +
 package/libatasmart/Config.in      |   11 +++++++++++
 package/libatasmart/libatasmart.mk |   14 ++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 package/libatasmart/Config.in
 create mode 100644 package/libatasmart/libatasmart.mk

Patch

diff --git a/package/Config.in b/package/Config.in
index 155a429..7a0a852 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -231,6 +231,7 @@  source "package/iostat/Config.in"
 source "package/irda-utils/Config.in"
 source "package/kbd/Config.in"
 source "package/lcdproc/Config.in"
+source "package/libatasmart/Config.in"
 source "package/linux-firmware/Config.in"
 source "package/lm-sensors/Config.in"
 source "package/lshw/Config.in"
diff --git a/package/libatasmart/Config.in b/package/libatasmart/Config.in
new file mode 100644
index 0000000..863046f
--- /dev/null
+++ b/package/libatasmart/Config.in
@@ -0,0 +1,11 @@ 
+config BR2_PACKAGE_LIBATASMART
+	bool "libatasmart"
+	depends on BR2_PACKAGE_UDEV
+	help
+	  Reading and Parsing Library.
+	  As the name suggests libatasmart only does ATA S.M.A.R.T.
+
+	  git://git.0pointer.de/libatasmart.git
+
+comment "libatasmart requires udev to be enabled"
+	depends on !BR2_PACKAGE_UDEV
diff --git a/package/libatasmart/libatasmart.mk b/package/libatasmart/libatasmart.mk
new file mode 100644
index 0000000..47b4720
--- /dev/null
+++ b/package/libatasmart/libatasmart.mk
@@ -0,0 +1,14 @@ 
+#############################################################
+#
+# libatasmart
+#
+#############################################################
+LIBATASMART_VERSION = v0.19
+LIBATASMART_SITE    = git://git.0pointer.de/libatasmart.git
+
+LIBATASMART_INSTALL_STAGING = YES
+LIBATASMART_AUTORECONF = YES
+
+LIBATASMART_DEPENDENCIES = udev
+
+$(eval $(autotools-package))