aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-09-05 12:34:36 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-09-05 12:34:40 +0000
commit73d9f0a05a43a896c139ab7c22b648897dd34709 (patch)
treecc18044da1b0f4280701a8dcf96ffae6eeed1587 /community
parentb663c88755fd0fe12e64e9562ffecc7d5fd119bb (diff)
downloadaports-73d9f0a05a43a896c139ab7c22b648897dd34709.tar.bz2
aports-73d9f0a05a43a896c139ab7c22b648897dd34709.tar.xz
community/glances: moved from testing, added docker support
Diffstat (limited to 'community')
-rw-r--r--community/glances/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/glances/APKBUILD b/community/glances/APKBUILD
new file mode 100644
index 0000000000..8bb6514877
--- /dev/null
+++ b/community/glances/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Łukasz Jendrysik <scadu@yandex.com>
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=glances
+pkgver=2.6.2
+pkgrel=1
+pkgdesc="A CLI curses based monitoring tool"
+url="http://nicolargo.github.com/glances/"
+arch="noarch"
+license="LGPL3+"
+depends="py-psutil py-bottle py-snmp py-batinfo docker-py"
+makedepends="python-dev py-setuptools"
+subpackages="$pkgname-doc"
+source="glances-$pkgver.tar.gz::https://github.com/nicolargo/glances/archive/v$pkgver.tar.gz"
+
+builddir="$srcdir"/glances-$pkgver
+build() {
+ cd "$builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+
+ # Remove images and HTML doc depending on those
+ rm -rf "$pkgdir"/usr/share/doc/$pkgname/$pkgname-doc.html \
+ "$pkgdir"/usr/share/doc/$pkgname/images || return 1
+}
+
+md5sums="5fbf04e9176030fb50194fcc39596128 glances-2.6.2.tar.gz"
+sha256sums="7ed8bd81308565a25d22216dfe3f64c6ef8cfc4975a0d92239aff44a912c7694 glances-2.6.2.tar.gz"
+sha512sums="bc3de18e05138a1a5cf4ebb50d359c405515d3aace9838eb5657c8fda11b43af63a02fd4fd346dde62a35572823d5628d8c4cb181c645ef3bd114e66d0f68c1d glances-2.6.2.tar.gz"