summaryrefslogtreecommitdiffstats
path: root/testing/glances/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/glances/APKBUILD')
-rw-r--r--testing/glances/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/glances/APKBUILD b/testing/glances/APKBUILD
new file mode 100644
index 000000000..6f498965b
--- /dev/null
+++ b/testing/glances/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=glances
+_pkgname=nicolargo-glances
+pkgver=1.6.1
+_gitver=4be5ede
+pkgrel=0
+pkgdesc="CLI curses based monitoring tool for GNU/Linux and BSD OS."
+url="http://nicolargo.github.com/glances/"
+arch="noarch"
+license="GPL"
+depends=""
+depends_dev="python-dev py-setuptools"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="saveas-https://github.com/nicolargo/$pkgname/tarball/master/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$_pkgname-$_gitver
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+
+}
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return !
+}
+
+md5sums="44e36ffa3ffd9f303c9748a49f7bec89 glances-1.6.1.tar.gz"