summaryrefslogtreecommitdiffstats
path: root/package/libatasmart
diff options
context:
space:
mode:
authorMarek Belisko <marek.belisko@open-nandra.com>2013-01-18 12:08:45 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-20 23:16:30 +0100
commitc7a81abc5421b95ea24efd1d74614ee032c014a4 (patch)
treef28be3184d2511339668c487b178ec703fbf47af /package/libatasmart
parentff3c47ee04daa6f97e9911659fdea0636d65327f (diff)
downloadbuildroot-novena-c7a81abc5421b95ea24efd1d74614ee032c014a4.tar.gz
buildroot-novena-c7a81abc5421b95ea24efd1d74614ee032c014a4.zip
libatasmart: new package.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libatasmart')
-rw-r--r--package/libatasmart/Config.in11
-rw-r--r--package/libatasmart/libatasmart.mk18
2 files changed, 29 insertions, 0 deletions
diff --git a/package/libatasmart/Config.in b/package/libatasmart/Config.in
new file mode 100644
index 000000000..a3e44f8b2
--- /dev/null
+++ b/package/libatasmart/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBATASMART
+ bool "libatasmart"
+ depends on BR2_PACKAGE_UDEV # libudev is configure dependency
+ help
+ The libatasmart package is a disk reporting library.
+ It only supports a subset of the ATA S.M.A.R.T. functionality.
+
+ http://www.linuxfromscratch.org/blfs/view/svn/general/libatasmart.html
+
+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 000000000..5dbdcc451
--- /dev/null
+++ b/package/libatasmart/libatasmart.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# libatasmart
+#
+#############################################################
+LIBATASMART_VERSION = 0.19
+LIBATASMART_SOURCE = libatasmart-$(LIBATASMART_VERSION).tar.xz
+LIBATASMART_SITE = http://0pointer.de/public
+LIBATASMART_LICENSE = LGPLv2.1
+LIBATASMART_LICENSE_FILE = LGPL
+LIBATASMART_INSTALL_STAGING = YES
+
+# package doesn't include configure script
+LIBATASMART_AUTORECONF = YES
+
+LIBATASMART_DEPENDENCIES = udev
+
+$(eval $(autotools-package))