summaryrefslogtreecommitdiffstats
path: root/main/vanessa_logger/APKBUILD
blob: 3fc1f8f4fec10f3a8b191581ee659cfa0a3309b3 (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=vanessa_logger
pkgver=0.0.8
pkgrel=1
pkgdesc="Logging library"
url="http://horms.net/projects/perdition/"
arch="all"
license="LGPL"
depends=
depends_dev=""
makedepends="$depends_dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://horms.net/projects/perdition/download/1.18/$pkgname-$pkgver.tar.bz2"


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

prepare() {
	cd "$_builddir"
	return 0
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="3b70c8b330d25fb97ef9d7f3fd71c0b0  vanessa_logger-0.0.8.tar.bz2"