Commit 1a6c5b45 authored by A. Wilcox's avatar A. Wilcox Committed by Ariadne Conill

main/libatasmart: modernise, mark no tests, fix license

parent 491034e4
......@@ -6,7 +6,8 @@ pkgrel=1
pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library"
url="http://0pointer.de/blog/projects/being-smart.html"
arch="all"
license="GPL"
options="!check" # No test suite.
license="LGPL-2.1+"
depends=
depends_dev="eudev-dev"
makedepends="$depends_dev linux-headers"
......@@ -14,16 +15,14 @@ install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://0pointer.de/public/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
# apply patches here
cd "$builddir"
update_config_sub
default_prepare
}
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -32,15 +31,14 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
--localstatedir=/var \
|| return 1
--localstatedir=/var
make || return 1
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="ec9edb019c477873b01289ba365ad0ed0946505d651c1f6f83a63ef61b3976a5db6439c8a0c74d9a55325db9a3a587ad6f655f8d1af9387b0d08356eccabdb62 libatasmart-0.19.tar.xz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment