diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2013-02-24 21:13:03 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2013-02-24 21:13:03 +0000 |
commit | 40bda1db0d04b68f64a59168f730791beffeec66 (patch) | |
tree | d80f85e65841851934ac5dcea5dcdfa6476e47c4 /testing/glances/APKBUILD | |
parent | 16f2a6df9f922f295d55a3cfcee19eee7bd8450b (diff) | |
download | aports-40bda1db0d04b68f64a59168f730791beffeec66.tar.bz2 aports-40bda1db0d04b68f64a59168f730791beffeec66.tar.xz |
testing/glances: new aport
Diffstat (limited to 'testing/glances/APKBUILD')
-rw-r--r-- | testing/glances/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/glances/APKBUILD b/testing/glances/APKBUILD new file mode 100644 index 0000000000..6f498965bb --- /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" |