2010-04-13 13:36:01 +00:00
|
|
|
# Template file for 'libatasmart'
|
|
|
|
pkgname=libatasmart
|
2013-05-07 15:25:36 +00:00
|
|
|
version=0.19
|
2014-06-21 09:23:49 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-10 09:10:20 +00:00
|
|
|
configure_args="--disable-static"
|
2014-06-21 09:23:49 +00:00
|
|
|
hostmakedepends="automake libtool pkg-config"
|
2013-04-13 08:15:49 +00:00
|
|
|
makedepends="libudev-devel>=183"
|
2010-04-13 13:36:01 +00:00
|
|
|
short_desc="ATA S.M.A.R.T. Reading and Parsing Library"
|
2013-03-31 07:51:17 +00:00
|
|
|
homepage="http://0pointer.de/blog/projects/being-smart.html"
|
|
|
|
license="LGPL-2.1"
|
2010-04-13 13:36:01 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-05-07 15:25:36 +00:00
|
|
|
distfiles="http://0pointer.de/public/$pkgname-$version.tar.xz"
|
|
|
|
checksum=61f0ea345f63d28ab2ff0dc352c22271661b66bf09642db3a4049ac9dbdb0f8d
|
|
|
|
|
2014-06-21 09:23:49 +00:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libatasmart-devel_package() {
|
2014-06-21 09:23:49 +00:00
|
|
|
depends="libudev-devel ${sourcepkg}-${version}_${revision}"
|
2013-05-07 15:25:36 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-06-21 09:23:49 +00:00
|
|
|
vmove usr/lib/*.so
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|