aboutsummaryrefslogblamecommitdiffstats
path: root/main/libatasmart/APKBUILD
blob: 07ce088b18afb4c0401376547fb2f69e4348b887 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                               
                                                   

                   
        

                                                       
                 

             
                      





























                                                                   
# Contributor: Carlo Landmeter 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libatasmart
pkgver=0.17
pkgrel=1
pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library"
url="http://0pointer.de/blog/projects/being-smart.html"
arch="x86 x86_64"
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
}

md5sums="dc36cadbbb7fa38f8af175713eda1a21  libatasmart-0.17.tar.gz"