blob: a0affbb1c9a1557bc94022c0957f8f39db4bf6d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libatasmart
pkgver=0.18
pkgrel=0
pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library"
url="http://0pointer.de/blog/projects/being-smart.html"
arch="all"
license="GPL"
depends=
depends_dev="udev-dev"
makedepends="udev-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://0pointer.de/public/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
# apply patches here
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
--localstatedir=/var
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="dc22b7acda1c2230f55ae98737e8b159 libatasmart-0.18.tar.gz"
|