void-packages/srcpkgs/libatasmart/template

30 lines
821 B
Bash
Raw Normal View History

# Template file for 'libatasmart'
pkgname=libatasmart
2013-05-07 17:25:36 +02:00
version=0.19
2015-06-02 10:34:36 +02:00
revision=4
build_style=gnu-configure
2015-06-02 10:34:36 +02:00
configure_args="--sbindir=/usr/bin --disable-static"
hostmakedepends="automake libtool pkg-config"
makedepends="libudev-devel"
short_desc="ATA S.M.A.R.T. Reading and Parsing Library"
2013-03-31 09:51:17 +02:00
homepage="http://0pointer.de/blog/projects/being-smart.html"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-05-07 17:25:36 +02:00
distfiles="http://0pointer.de/public/$pkgname-$version.tar.xz"
checksum=61f0ea345f63d28ab2ff0dc352c22271661b66bf09642db3a4049ac9dbdb0f8d
pre_configure() {
autoreconf -fi
}
libatasmart-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
2013-05-07 17:25:36 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share
}
}