diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-14 20:32:36 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-14 20:32:44 -0500 |
commit | a865ad5012f1aa5c6363e25301ec030fecc3e19c (patch) | |
tree | f6e125c39542d7cec7db699586af026cd3ecbc05 /user/libatasmart/APKBUILD | |
parent | a1af005c98098e3ba402d200df8b0c23df3c3e80 (diff) | |
download | packages-a865ad5012f1aa5c6363e25301ec030fecc3e19c.tar.gz packages-a865ad5012f1aa5c6363e25301ec030fecc3e19c.tar.bz2 packages-a865ad5012f1aa5c6363e25301ec030fecc3e19c.tar.xz packages-a865ad5012f1aa5c6363e25301ec030fecc3e19c.zip |
user/libatasmart: pull in, take, fix up
Diffstat (limited to 'user/libatasmart/APKBUILD')
-rw-r--r-- | user/libatasmart/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/user/libatasmart/APKBUILD b/user/libatasmart/APKBUILD new file mode 100644 index 000000000..fcc9881f6 --- /dev/null +++ b/user/libatasmart/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Carlo Landmeter +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libatasmart +pkgver=0.19 +pkgrel=2 +pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library" +url="http://0pointer.de/blog/projects/being-smart.html" +arch="all" +options="!check" # No test suite. +license="LGPL-2.1+" +depends="" +depends_dev="eudev-dev" +makedepends="$depends_dev linux-headers" +subpackages="$pkgname-dev $pkgname-doc" +source="http://0pointer.de/public/$pkgname-$pkgver.tar.xz" + +prepare() { + cd "$builddir" + update_config_sub + default_prepare +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static \ + --localstatedir=/var + + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="ec9edb019c477873b01289ba365ad0ed0946505d651c1f6f83a63ef61b3976a5db6439c8a0c74d9a55325db9a3a587ad6f655f8d1af9387b0d08356eccabdb62 libatasmart-0.19.tar.xz" |