summaryrefslogtreecommitdiffstats
path: root/extra/acct
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-02 09:11:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-02 09:11:55 +0000
commitee533f46e3e8c43a0af7f7b5ac445d4c7e2c8487 (patch)
tree11c3ca291b9d237739c7ca26bdf81fb6b06fc77a /extra/acct
parent836c7cf2da7750fea479b15712e20105c9d869fa (diff)
downloadaports-ee533f46e3e8c43a0af7f7b5ac445d4c7e2c8487.tar.bz2
aports-ee533f46e3e8c43a0af7f7b5ac445d4c7e2c8487.tar.xz
extra/acct: split -doc pkg
Diffstat (limited to 'extra/acct')
-rw-r--r--extra/acct/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/extra/acct/APKBUILD b/extra/acct/APKBUILD
index 12a01ee78..73902efe6 100644
--- a/extra/acct/APKBUILD
+++ b/extra/acct/APKBUILD
@@ -8,18 +8,19 @@ license="GPL"
depends="uclibc"
makedepends=""
install=
-subpackages=""
+subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/acct/${pkgname}-${pkgver}.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
+ # seems like this makefile does not respect DESTDIR
+ ./configure --prefix=/usr \
+ --mandir="$pkgdir"/usr/share/man \
+ --infodir="$pkgdir"/usr/share/info
+
make || return 1
make prefix="$pkgdir/usr" install
- mv "$pkgdir/usr/man" "$pkgdir/usr/share/"
- mv "$pkgdir/usr/info" "$pkgdir/usr/share/"
-
}
md5sums="da0055b254f7da8b8920db83ef1ebba1 acct-6.3.2.tar.gz"