aboutsummaryrefslogtreecommitdiffstats
path: root/testing/glog/APKBUILD
blob: f7df0769e2fb276440415c8a0499df17dfa7248a (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
# Contributor: David Huffman <storedbox@outlook.com>
# Maintainer: David Huffman <storedbox@outlook.com>
pkgname=glog
pkgver=0.3.5
pkgrel=0
pkgdesc="C++ implementation of the Google logging module"
url="https://github.com/google/glog"
arch="all"
license="BSD"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/google/glog/archive/v$pkgver/$pkgname-$pkgver.tar.gz"

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

prepare() {
	default_prepare
	update_config_guess
}

build() {
	cd "$builddir"
	./configure --prefix=/usr \
		--disable-dependency-tracking \
		--disable-rtti \
		--with-pic
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="a54a3b8b4b7660d7558ba5168c659bc3c8323c30908a4f6a4bbc6f9cd899350f3243aabc720daebfdeb799b276b51ba1eaa1a0f83149c4e1a038d552ada1ed72  glog-0.3.5.tar.gz"