[oe-commits] Marcin Juszkiewicz : hdparm: added 9.15

GIT User account git at amethyst.openembedded.net
Sat May 16 23:48:17 UTC 2009


Module: openembedded.git
Branch: xora/angstrom-srcpv
Commit: ce7d21308430468c4d0ef3b6e2642112be52bae9
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ce7d21308430468c4d0ef3b6e2642112be52bae9

Author: Marcin Juszkiewicz <marcin at buglabs.net>
Date:   Sat May 16 13:48:10 2009 +0200

hdparm: added 9.15

---

 conf/checksums.ini            |    4 ++++
 recipes/hdparm/hdparm_9.15.bb |   21 +++++++++++++++++++++
 2 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/conf/checksums.ini b/conf/checksums.ini
index d6dd12c..6f1d956 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -10178,6 +10178,10 @@ sha256=cae6ed86296d01be98ee3be0c224c4323eee508941a7f162a0366d56655afe06
 md5=62749c6cdf28ce31aae335092fa107df
 sha256=cae6ed86296d01be98ee3be0c224c4323eee508941a7f162a0366d56655afe06
 
+[http://downloads.sourceforge.net/hdparm/hdparm-9.15.tar.gz]
+md5=0524dd10ad986285ff4eeb3507f7471c
+sha256=689a413119c4d670ed95b9ac24511655c4805db678ad93866ab1036a0ba4d6bf
+
 [http://handhelds.org/~zecke/oe_packages/hexatrolic-103beta3-zecke1.tar.bz2]
 md5=1d9420e8b5a6d5fa491c458ffafd4adb
 sha256=b60a5358e56e676529e7d3d655d5107a76b9a2434e38952711fea794f65721ce
diff --git a/recipes/hdparm/hdparm_9.15.bb b/recipes/hdparm/hdparm_9.15.bb
new file mode 100644
index 0000000..d351e8d
--- /dev/null
+++ b/recipes/hdparm/hdparm_9.15.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "hdparm is a Linux shell utility for viewing \
+and manipulating various IDE drive and driver parameters."
+SECTION = "console/utils"
+PRIORITY = "optional"
+LICENSE = "BSD"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/hdparm-${PV}.tar.gz "
+
+do_install () {
+	install -d ${D}/${base_sbindir} ${D}/${mandir}/man8
+	oe_runmake 'DESTDIR=${D}' 'sbindir=${base_sbindir}' install
+	mv ${D}${base_sbindir}/hdparm ${D}${base_sbindir}/hdparm.${PN}
+}
+
+pkg_postinst_${PN} () {
+	update-alternatives --install ${base_sbindir}/hdparm hdparm hdparm.${PN} 100
+}
+
+pkg_prerm_${PN} () {
+	update-alternatives --remove hdparm hdparm.${PN}
+}





More information about the Openembedded-commits mailing list