aboutsummaryrefslogtreecommitdiffstats
path: root/main/acct/APKBUILD
blob: 527ecf74bd1f1f6782e490df265eff5afc6293a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=acct
pkgver=6.5.3
pkgrel=1
pkgdesc="The GNU Accounting Utilities"
url="http://www.gnu.org/software/acct/"
arch="x86 x86_64"
license="GPL"
depends=
makedepends=
install=
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/acct/${pkgname}-${pkgver}.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	# seems like this makefile does not respect DESTDIR
	./configure --prefix=/usr \
		--mandir="$pkgdir"/usr/share/man \
		--infodir="$pkgdir"/usr/share/info \
		--enable-linux-multiformat

	make LDADD="-lm lib/libgnu.la"	|| return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make prefix="$pkgdir/usr" install
}

md5sums="0d4121b4ca76792b17d76042577c04ce  acct-6.5.3.tar.gz"