2010-04-13 15:36:01 +02:00
|
|
|
# Template file for 'libatasmart'
|
|
|
|
pkgname=libatasmart
|
2013-05-07 17:25:36 +02:00
|
|
|
version=0.19
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-10-10 11:10:20 +02:00
|
|
|
configure_args="--disable-static"
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libudev-devel>=183"
|
2010-04-13 15:36:01 +02:00
|
|
|
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"
|
2010-04-13 15:36:01 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-05-07 17:25:36 +02:00
|
|
|
distfiles="http://0pointer.de/public/$pkgname-$version.tar.xz"
|
|
|
|
checksum=61f0ea345f63d28ab2ff0dc352c22271661b66bf09642db3a4049ac9dbdb0f8d
|
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" automake libtool"
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libatasmart-devel_package() {
|
|
|
|
depends="libudev-devel libatasmart-${version}_${revision}"
|
2013-05-07 17:25:36 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libatasmart_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|