summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/smartmontools/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-07 05:03:57 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-07 05:03:57 (GMT)
commit724988f9137cdcaf078d5e88e7efec9e664b638e (patch)
tree38cbc769c56b918f201f029ab1726f20e0cccdd8 /abs/extra-testing/smartmontools/PKGBUILD
parentaeb48ca0a00c85d704294b81688f21075913f0a5 (diff)
downloadlinhes_pkgbuild-724988f9137cdcaf078d5e88e7efec9e664b638e.zip
linhes_pkgbuild-724988f9137cdcaf078d5e88e7efec9e664b638e.tar.gz
linhes_pkgbuild-724988f9137cdcaf078d5e88e7efec9e664b638e.tar.bz2
smarttools
Diffstat (limited to 'abs/extra-testing/smartmontools/PKGBUILD')
-rw-r--r--abs/extra-testing/smartmontools/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/extra-testing/smartmontools/PKGBUILD b/abs/extra-testing/smartmontools/PKGBUILD
new file mode 100644
index 0000000..dbee715
--- /dev/null
+++ b/abs/extra-testing/smartmontools/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 6701 2008-07-27 13:29:59Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Jeff Mickey <jeff@archlinux.org>
+# Contributor: Jani Talikka <jani.talikka@gmail.com>
+
+pkgname=smartmontools
+pkgver=5.38
+pkgrel=1
+pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives."
+url="http://smartmontools.sourceforge.net"
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('gcc-libs')
+backup=('etc/smartd.conf')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz \
+ smartd)
+
+build()
+{
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc
+ 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')