summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-02-16 05:38:36 (GMT)
committerCecil <knoppmyth@gmail.com>2011-02-16 05:38:36 (GMT)
commit4a1431c616b4060b70e762d6aa7e022348084dc0 (patch)
treeb102cba922e58b1fa9c3c5a7f6df7eadd293221f /abs
parent877439fb6a978ac867c0f3d19e4b31b71cd37b20 (diff)
parent3990526950d6d8cbd2a9b1a70cee0c7bfe906c99 (diff)
downloadlinhes_pkgbuild-4a1431c616b4060b70e762d6aa7e022348084dc0.zip
linhes_pkgbuild-4a1431c616b4060b70e762d6aa7e022348084dc0.tar.gz
linhes_pkgbuild-4a1431c616b4060b70e762d6aa7e022348084dc0.tar.bz2
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs')
-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')