aboutsummaryrefslogtreecommitdiffstats
path: root/main/vanessa_adt/APKBUILD
blob: 15cfd4541530c104460da6816a10a07bd605fd5f (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=vanessa_adt
pkgver=0.0.9
pkgrel=0
pkgdesc="Library of abstract data types"
url="http://horms.net/projects/perdition/"
arch="all"
license="LGPL-2.0-or-later"
depends=
depends_dev="vanessa_logger-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://horms.net/projects/vanessa/download/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	update_config_sub || return 1
	return 0
}

build() {
	export LDFLAGS="$LDFLAGS -lvanessa_logger"
	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
}

md5sums="730f569b575cc6a18ae16fef3b449f3f  vanessa_adt-0.0.9.tar.bz2"
sha256sums="de4dd2d9d93a6539625b34517504e0c05c92462968d1965ba530e8eea0e3cad8  vanessa_adt-0.0.9.tar.bz2"
sha512sums="5066bb57c3ee314531cc5a45d5ac670277e98a868df46c7816f8b1049be3306be3711e62f397b34746fd7d13bbcbe109346704f26c8f3bd39754979070dd1cc4  vanessa_adt-0.0.9.tar.bz2"