diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2011-10-13 08:11:14 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-10-13 08:11:14 +0000 |
commit | 326e3880df8dfe920efabf57994121acb8c6fd1d (patch) | |
tree | f3b38951cc9550ac16de584d5ef3a9a6be4723ca /main/hdparm/APKBUILD | |
parent | 7ccf5d526950166104a3767cb754384702babe2c (diff) | |
download | aports-326e3880df8dfe920efabf57994121acb8c6fd1d.tar.bz2 aports-326e3880df8dfe920efabf57994121acb8c6fd1d.tar.xz |
main/hdparm: removed init scripts and moved to main
Diffstat (limited to 'main/hdparm/APKBUILD')
-rw-r--r-- | main/hdparm/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/hdparm/APKBUILD b/main/hdparm/APKBUILD new file mode 100644 index 0000000000..330faaf579 --- /dev/null +++ b/main/hdparm/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=hdparm +pkgver=9.37 +pkgrel=0 +pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters" +url="http://sourceforge.net/projects/hdparm/" +arch="all" +license="BSD" +depends= +makedepends= +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" + make || return 1 +} + +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 +} +md5sums="0bb94ddd1bedd5c02b1ca62f1caaf6de hdparm-9.37.tar.gz" |