aboutsummaryrefslogtreecommitdiffstats
path: root/community/logstalgia/APKBUILD
blob: 5567cb3114107de394f61e91d937636b5036db77 (plain) (blame)
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
34
35
36
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=logstalgia
pkgver=1.1.2
pkgrel=0
pkgdesc="A website access log visualisation tool"
url="https://logstalgia.io/"
arch="all"
license="GPL"
makedepends="pcre-dev ftgl-dev sdl2-dev sdl2_image-dev
	libpng-dev jpeg-dev glew-dev boost-dev glm-dev freetype-dev"
subpackages="$pkgname-doc"
source="https://github.com/acaudwell/Logstalgia/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}
package() {
	cd "$builddir"
	#mkdir -p "$pkgdir"/usr/share
	#mkdir -p "$pkgdir"/usr/bin
	make prefix=$pkgdir/usr install
}

sha512sums="e2bd41cbc6edabc1ff82d0da4ad6f749e0e6d44e5a23ea976c31d19339f56e5f693ba86b81ceee3c7590842df61d61fe69f1378711b8e7d1c30deff330cacb1e  logstalgia-1.1.2.tar.gz"