From ce7d21308430468c4d0ef3b6e2642112be52bae9 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Sat, 16 May 2009 13:48:10 +0200 Subject: hdparm: added 9.15 --- conf/checksums.ini | 4 ++++ recipes/hdparm/hdparm_9.15.bb | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 recipes/hdparm/hdparm_9.15.bb diff --git a/conf/checksums.ini b/conf/checksums.ini index d6dd12c9c8..6f1d95667a 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 0000000000..d351e8dc85 --- /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} +} -- cgit v1.2.3