summaryrefslogtreecommitdiffstats
path: root/main/vanessa_logger/APKBUILD
blob: 99c7a006b7e8240aaac95fcdd99a3f5ce6721627 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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
	fix-standard.patch
	"


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

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
	return 0
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	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
201bc3e8e17b7003ee8befb87dc47f81  fix-standard.patch"
sha256sums="fcff3e0720aa6d23ae8ab9af1ed06d32e7e04e3e9d2d18a6f75cc8ebdb14ddbf  vanessa_logger-0.0.8.tar.bz2
47d23d2eb7800fa642a20658d77ee992f70ebc979713fe05bd6f5d3e05629796  fix-standard.patch"
sha512sums="4518d1f12fe54554ac1759df30da81e2b25dd51cafe911fe33b119558e8b61cb698a1797bf7064e25d2eff82b456e3ebfe0a565247cbcab76ebe6270a0b7c7da  vanessa_logger-0.0.8.tar.bz2
0b8c52668f7789073984e3573a3c3b675b9027eea31f8185345f6baca0a5dfb22397858b342eb5069a20d07b8e7a4c9c4f4bd257bbad7cd692c39b8f606c4ac5  fix-standard.patch"