summaryrefslogtreecommitdiff
path: root/main/liblogging/APKBUILD
blob: 8514e64d4fdbf54dbda3b938c9e5e0009e02b93c (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=liblogging
pkgver=1.0.6
pkgrel=2
pkgdesc="An easy to use logging library"
url="http://www.liblogging.org/"
arch="all"
license="BSD-2-Clause"
depends=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.rsyslog.com/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-journal \
		--enable-stdlog
	make
}

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

sha512sums="09c90a93b2d32afa44be5a800705a64690810a56d21bed1455cb70680b01fecd4efef3881a43f98ebcafa996b6046ed8e5af935eacc12014f330a7fd23674964  liblogging-1.0.6.tar.gz"