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

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

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

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