aboutsummaryrefslogtreecommitdiffstats
path: root/main/atop/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-30 15:12:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-31 12:39:43 +0000
commit9ca6b0e4d9144fe594d341dfdf014d672c519a45 (patch)
treee6ced46db2a80b4aaefb4e32c143192470a2d000 /main/atop/APKBUILD
parent00a9bff3d5cccb627e18d5a8d003e405511d3473 (diff)
downloadaports-9ca6b0e4d9144fe594d341dfdf014d672c519a45.tar.bz2
aports-9ca6b0e4d9144fe594d341dfdf014d672c519a45.tar.xz
main/atop: specify license
Diffstat (limited to 'main/atop/APKBUILD')
-rw-r--r--main/atop/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/atop/APKBUILD b/main/atop/APKBUILD
index 4f694ba7c6..13be69f5fe 100644
--- a/main/atop/APKBUILD
+++ b/main/atop/APKBUILD
@@ -2,12 +2,12 @@
pkgname=atop
pkgver=2.0.2
_ver=${pkgver/_p/-}
-pkgrel=0
+pkgrel=1
pkgdesc="Resource-specific view of processes"
url="http://www.atcomputing.nl/Tools/atop"
arch="all"
-license="GPL-2"
-depends=
+license="GPL2+"
+depends=""
makedepends="zlib-dev ncurses-dev"
subpackages="$pkgname-doc"
source="http://www.atoptool.nl/download/atop-$_ver.tar.gz
@@ -26,7 +26,7 @@ prepare() {
build() {
cd "$_builddir"
- make
+ make || return 1
}
package() {
@@ -35,7 +35,7 @@ package() {
make DESTDIR="$pkgdir" \
INIPATH=/etc/init.d \
SCRPATH=/etc/periodic/daily \
- install
+ install || return 1
rm -f "$pkgdir"/etc/cron.d
mv "$pkgdir"/etc/periodic/daily/atop.daily \
"$pkgdir"/etc/periodic/daily/atop