aboutsummaryrefslogtreecommitdiffstats
path: root/community/logstalgia/APKBUILD
blob: 033b07ba981caac1245c7fcf5e779b7aa4129297 (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
37
38
39
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=logstalgia
pkgver=1.0.7
pkgrel=0
pkgdesc="A website access log visualisation tool"
url="http://logstalgia.io/"
arch="all"
license="GPL"
depends=""
depends_dev="pcre-dev sdl_image-dev sdl-dev ftgl-dev 
	libpng-dev jpeg-dev glew-dev boost-dev glm-dev "
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="https://github.com/acaudwell/Logstalgia/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz
	gcc6-fix.patch"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make || return 1
	
}

package() {
	cd "$builddir"
	install -d "${pkgdir}"/usr/{share,bin}
	make prefix=$pkgdir/usr install || return 1
}

md5sums="b2d1d10315e2415dc1d20bfc7e4538f1  logstalgia-1.0.7.tar.gz
ac92b98c96302f8d8d996ca9169dc5f1  gcc6-fix.patch"
sha256sums="5553fd03fb7be564538fe56e871eac6e3caf56f40e8abc4602d2553964f8f0e1  logstalgia-1.0.7.tar.gz
e926aa3b1b59612c93e94b81ec9198e0d036ff0a61d5cf026919551f2d882ef7  gcc6-fix.patch"
sha512sums="862950ec387e27d72fe127fcccd37d1e6a0ed8b77fb243c119ef8b48b5bc45092d1b6881b9afbc016969e80a427fa4e210aa5d35524baf191d0c4fad5f91e3a9  logstalgia-1.0.7.tar.gz
bd15c5f3cff76da2da2baf749a1aba1cd977e3f436048fe913c719e65bb2ef39bd247ac8c09c2c31d6fee782d6d73dc19f10c442b7d11890e98e63f8e41a939d  gcc6-fix.patch"