vp-build/srcpkgs/libatasmart/template
2014-06-21 11:23:49 +02:00

30 lines
803 B
Plaintext

# Template file for 'libatasmart'
pkgname=libatasmart
version=0.19
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake libtool pkg-config"
makedepends="libudev-devel>=183"
short_desc="ATA S.M.A.R.T. Reading and Parsing Library"
homepage="http://0pointer.de/blog/projects/being-smart.html"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://0pointer.de/public/$pkgname-$version.tar.xz"
checksum=61f0ea345f63d28ab2ff0dc352c22271661b66bf09642db3a4049ac9dbdb0f8d
pre_configure() {
autoreconf -fi
}
libatasmart-devel_package() {
depends="libudev-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share
}
}