diff options
-rw-r--r-- | main/hdparm/APKBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/main/hdparm/APKBUILD b/main/hdparm/APKBUILD index 7025ee1da0..a8af7c0aca 100644 --- a/main/hdparm/APKBUILD +++ b/main/hdparm/APKBUILD @@ -6,25 +6,25 @@ pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters" url="http://sourceforge.net/projects/hdparm/" arch="all" license="BSD" -makedepends="linux-headers " +makedepends="linux-headers" +options="!check" subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" - builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" export CFLAGS="$CFLAGS -D_GNU_SOURCE" - make || return 1 + make } package() { cd "$builddir" mkdir -p "$pkgdir"/usr "$pkgdir"/sbin - make DESTDIR="$pkgdir" install || return 1 - install -m755 contrib/idectl "$pkgdir"/sbin || return 1 - install -m755 contrib/ultrabayd "$pkgdir"/sbin || return 1 - install -D -m 644 LICENSE.TXT $pkgdir/usr/share/licenses/hdparm/LICENSE.TXT || return 1 + make DESTDIR="$pkgdir" install + install -m755 contrib/idectl "$pkgdir"/sbin + install -m755 contrib/ultrabayd "$pkgdir"/sbin + install -D -m 644 LICENSE.TXT $pkgdir/usr/share/licenses/hdparm/LICENSE.TXT } sha512sums="144d073d697d05058e0240ff46e5517803baa8475e1d381a31c25179ceb1564bbb561ba7f9dee8654d80a3510e3bf2f2d2f4a267618f0ab27967f37626aef91c hdparm-9.51.tar.gz" |