void-packages/srcpkgs/libatasmart/template

31 lines
787 B
Plaintext

# Template file for 'libatasmart'
pkgname=libatasmart
version=0.17
revision=8
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="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.gz"
checksum=2d62a11274f32cde2f074adef9ceb662bf205618dfc8f8e74b9be6a8b1ed5ffd
libatasmart-devel_package() {
depends="libudev-devel libatasmart-${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share
}
}
libatasmart_package() {
pkg_install() {
vmove usr
}
}