diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-19 12:33:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-19 12:33:09 +0000 |
commit | decbb01981332e10b7a71efc7c76755994b30047 (patch) | |
tree | 3664ef6cd59d4586835bbe10a2c4c212d79d80f2 /testing | |
parent | ecb879c596ecc217e8ea7923e0cf80b3405ddabb (diff) | |
download | aports-decbb01981332e10b7a71efc7c76755994b30047.tar.bz2 aports-decbb01981332e10b7a71efc7c76755994b30047.tar.xz |
testing/megactl: new aport
Tools for LSI megaraid adapters
http://sourceforge.net/projects/megactl/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/megactl/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/megactl/APKBUILD b/testing/megactl/APKBUILD new file mode 100644 index 0000000000..252048086c --- /dev/null +++ b/testing/megactl/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=megactl +pkgver=0.4.1 +pkgrel=0 +pkgdesc="Tools for LSI megaraid adapters" +url="http://sourceforge.net/projects/megactl/" +arch="all" +license="GPLv2" +depends="" +depends_dev="" +makedepends="$depends_dev linux-headers" +install="" +subpackages="" +source="http://downloads.sourceforge.net/project/megactl/megactl/$pkgver%20beta%20source%20package/megactl-$pkgver.tar.gz" + +_builddir="$srcdir"/megactl-$pkgver/src +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make ARCH= megactl megasasctl +} + +package() { + cd "$_builddir" + install -d "$pkgdir"/usr/bin + install megactl megasasctl "$pkgdir"/usr/bin/ || return 1 +} + +md5sums="5d2b2752e3f623d86220ffd9d91afb44 megactl-0.4.1.tar.gz" +sha256sums="d7aee98035c97a1ff098450192f073565c4f2355079763f6dc6202be121720e8 megactl-0.4.1.tar.gz" +sha512sums="65a97f03fbe1c76375d2e16016c1e57c7e4544bfd7185b13a330560819caf48ecad8e9f1feb1d448b45d4f862abf2799868bd357d120019a709088c90b58ac92 megactl-0.4.1.tar.gz" |