summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-02-15 03:35:29 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-02-15 03:35:29 (GMT)
commit3990526950d6d8cbd2a9b1a70cee0c7bfe906c99 (patch)
tree59e8d644e216710db8e88f4de09e0986b9931c74
parent492e108bc0c0822c5c43a6043d9eba66b6ad9836 (diff)
downloadlinhes_pkgbuild-3990526950d6d8cbd2a9b1a70cee0c7bfe906c99.zip
linhes_pkgbuild-3990526950d6d8cbd2a9b1a70cee0c7bfe906c99.tar.gz
linhes_pkgbuild-3990526950d6d8cbd2a9b1a70cee0c7bfe906c99.tar.bz2
smartmontools: update to 5.40
-rw-r--r--abs/extra/smartmontools/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/abs/extra/smartmontools/PKGBUILD b/abs/extra/smartmontools/PKGBUILD
index dbee715..ecb4fd5 100644
--- a/abs/extra/smartmontools/PKGBUILD
+++ b/abs/extra/smartmontools/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: Jani Talikka <jani.talikka@gmail.com>
pkgname=smartmontools
-pkgver=5.38
+pkgver=5.40
pkgrel=1
pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives."
url="http://smartmontools.sourceforge.net"
@@ -17,11 +17,15 @@ source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkg
build()
{
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc --includedir=/usr/src/linux-2.6.37-LinHES
make || return 1
- make DESTDIR=${startdir}/pkg install
- rm -rf ${startdir}/pkg/etc/rc.d
- install -D -m 755 ../smartd ${startdir}/pkg/etc/rc.d/smartd
}
-md5sums=('a282846532ecbd6b4a28072373b3a70b' '850f98b6792b7642ff193a49a2f1139d')
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ rm -rf ${pkgdir}/etc/rc.d
+ install -D -m 755 ../smartd ${pkgdir}/etc/rc.d/smartd
+}
+md5sums=('0f0be0239914ad87830a4fff594bda5b'
+ '850f98b6792b7642ff193a49a2f1139d')