void-packages/srcpkgs/libatasmart/template
Juan RP d3bc0de1e7 xbps-src: get rid of etc/{defaults.,}virtual.
It wasn't too useful after all and this slowed down the dependency
process marginally.

We don't need this, we can live without this.
2016-03-22 10:39:45 +01:00

29 lines
827 B
Bash

# Template file for 'libatasmart'
pkgname=libatasmart
version=0.19
revision=4
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --disable-static"
hostmakedepends="automake libtool pkg-config"
makedepends="eudev-libudev-devel"
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@voidlinux.eu>"
distfiles="http://0pointer.de/public/$pkgname-$version.tar.xz"
checksum=61f0ea345f63d28ab2ff0dc352c22271661b66bf09642db3a4049ac9dbdb0f8d
pre_configure() {
autoreconf -fi
}
libatasmart-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share
}
}