summaryrefslogtreecommitdiff
path: root/extra/libatasmart/PKGBUILD
blob: 0fc31c993d9ef14c93b77c08f61dbc1539e00548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 56826 2009-10-28 08:21:58Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libatasmart
pkgver=0.17
pkgrel=1
pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library"
arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('udev>=146')
url="http://0pointer.de/blog/projects/being-smart.html"
options=(!libtool)
source=(http://0pointer.de/public/${pkgname}-${pkgver}.tar.gz)
md5sums=('dc36cadbbb7fa38f8af175713eda1a21')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
      --disable-static || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}