APKBUILD 778 Bytes
Newer Older
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
1
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
3
pkgname=acct
Natanael Copa's avatar
Natanael Copa committed
4
pkgver=6.5.3
5
pkgrel=1
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
6
7
8
pkgdesc="The GNU Accounting Utilities"
url="http://www.gnu.org/software/acct/"
license="GPL"
9
10
depends=
makedepends=
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
11
install=
Natanael Copa's avatar
Natanael Copa committed
12
subpackages="$pkgname-doc"
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
13
14
15
16
17
source="http://ftp.gnu.org/gnu/acct/${pkgname}-${pkgver}.tar.gz"

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

Natanael Copa's avatar
Natanael Copa committed
18
19
20
	# seems like this makefile does not respect DESTDIR
	./configure --prefix=/usr \
		--mandir="$pkgdir"/usr/share/man \
Natanael Copa's avatar
Natanael Copa committed
21
22
		--infodir="$pkgdir"/usr/share/info \
		--enable-linux-multiformat
Natanael Copa's avatar
Natanael Copa committed
23

Natanael Copa's avatar
Natanael Copa committed
24
25
26
27
28
	make LDADD="-lm lib/libgnu.la"	|| return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
29
30
31
	make prefix="$pkgdir/usr" install
}

Natanael Copa's avatar
Natanael Copa committed
32
md5sums="0d4121b4ca76792b17d76042577c04ce  acct-6.5.3.tar.gz"