aboutsummaryrefslogtreecommitdiffstats
path: root/main/enhanceio-tools
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2014-05-09 06:26:04 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2014-05-09 06:26:04 +0000
commit70df51d19af645c3e74c9225529c89a19d0d1ae2 (patch)
tree42d25f36e71791d7222004dbd30d06cee5dd9636 /main/enhanceio-tools
parenteb03c70daa7d67ce67d9b2d4966ad82ddcbb26e3 (diff)
downloadaports-70df51d19af645c3e74c9225529c89a19d0d1ae2.tar.bz2
aports-70df51d19af645c3e74c9225529c89a19d0d1ae2.tar.xz
main/enhanceio-tools: new aport
Diffstat (limited to 'main/enhanceio-tools')
-rw-r--r--main/enhanceio-tools/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/enhanceio-tools/APKBUILD b/main/enhanceio-tools/APKBUILD
new file mode 100644
index 0000000000..587ded25c2
--- /dev/null
+++ b/main/enhanceio-tools/APKBUILD
@@ -0,0 +1,42 @@
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=enhanceio-tools
+pkgver=0.0_git20140507
+pkgrel=0
+pkgdesc="tools for managing enhanceio (eio_cli)"
+url="https://github.com/stec-inc/EnhanceIO"
+arch="noarch"
+license="GPL"
+depends="python"
+depends_dev=""
+makedepends=""
+install=""
+subpackages="$pkgname-doc"
+source="saveas-https://github.com/kcgthb/EnhanceIO/archive/master.zip/enhanceio-tools-${pkgver}.zip"
+
+_builddir="${srcdir}/EnhanceIO-master/CLI"
+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() {
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/sbin
+ install -c -m 755 "$_builddir"/eio_cli "$pkgdir"/usr/sbin/eio_cli
+
+ mkdir -p "$pkgdir"/usr/share/man/man8
+ install -c -m 644 "$_builddir"/eio_cli.8 "$pkgdir"/usr/share/man/man8/eio_cli.8
+}
+
+md5sums="2f7dd2117268192980d7442ca5c3664d enhanceio-tools-0.0_git20140507.zip"
+sha256sums="97e2916e1eb5916e08a9d1a2e1f62e51f8a9500fd033e1fba999a4b5f9b3e847 enhanceio-tools-0.0_git20140507.zip"
+sha512sums="0df43b96069bd57344de56723b3b5c6fcdcb9608bda4e5454898a41362b5b942574b826528c17f702fd915596f24d65387b17245d3c2a7af01c2ad8049a425fa enhanceio-tools-0.0_git20140507.zip"