aboutsummaryrefslogtreecommitdiffstats
path: root/community/logstalgia/APKBUILD
blob: fd3d64003f8f8f2cdad2a4f8b26c3b0e0bfd6135 (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
34
35
36
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=logstalgia
pkgver=1.1.1
pkgrel=0
pkgdesc="A website access log visualisation tool"
url="http://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="1ccb5307370c754cf42528dc6bd68c46ae6a6cf46c69148ab79e29e4c1989f860210a7b42ad34e5d06a7eca9bdd04a52b0cb577d67331aaeadedd1ca4a9439d3  logstalgia-1.1.1.tar.gz"