summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-02-16 09:37:41 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-02-16 09:37:41 +0000
commita45ea501f8b2c89ea0774cfb61c101c80242fae9 (patch)
treeceeaaa7ccc156b88f43702c97d7bd84a24884e1e
parent8194e6e04ee66a7f53324fcc6d04e0c0384193af (diff)
downloadaports-a45ea501f8b2c89ea0774cfb61c101c80242fae9.tar.bz2
aports-a45ea501f8b2c89ea0774cfb61c101c80242fae9.tar.xz
testing/targetcli: add man page
-rw-r--r--testing/targetcli/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/testing/targetcli/APKBUILD b/testing/targetcli/APKBUILD
index 0fc025da6..5d5285a84 100644
--- a/testing/targetcli/APKBUILD
+++ b/testing/targetcli/APKBUILD
@@ -4,7 +4,7 @@ pkgname=targetcli
pkgver=2.0_rc1_p7
_ver=${pkgver/_rc/rc}
_ver=${_ver/_p/.fb}
-pkgrel=0
+pkgrel=1
pkgdesc="An administration shell for storage targets"
url="https://github.com/agrover/targetcli-fb"
arch="noarch"
@@ -14,7 +14,7 @@ depends="python py-configobj py-configshell py-ethtool py-ipaddr py-rtslib
depends_dev=
makedepends="$depends_dev"
install=""
-subpackages=
+subpackages="$pkgname-doc"
source="http://dev.alpinelinux.org/archive/targetcli/$pkgname-$_ver.tar.gz"
_giturl="git://github.com/agrover/targetcli-fb.git"
@@ -50,12 +50,14 @@ prepare() {
build() {
cd "$_builddir"
- return 0
+ python setup.py build
+ gzip targetcli.8
}
package() {
cd "$_builddir"
python setup.py install --root="$pkgdir"
+ install -D -m644 targetcli.8.gz "$pkgdir"/usr/share/man/man8/targetcli.8.gz
}
-md5sums="eec7c8f81190524f8a2fbd40a0e7c7c5 targetcli-2.0rc1.fb7.tar.gz"
+md5sums="70952d94edd866d071ab208d95acde48 targetcli-2.0rc1.fb7.tar.gz"