aboutsummaryrefslogtreecommitdiffstats
path: root/main/vanessa_socket/APKBUILD
blob: d701a2dde5883123b1f3d735681814e9e1216317 (plain) (blame)
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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=vanessa_socket
pkgver=0.0.13
pkgrel=0
pkgdesc="User space TCP/IP pipe"
url="http://horms.net/projects/perdition/"
arch="all"
license="LGPL-2.0-or-later"
depends=
depends_dev="popt-dev vanessa_logger-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://horms.net/projects/vanessa/download/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver

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
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="c5f39cdf796f71f32cf0a4944f48871346d10529768777caec530451d96662fe35a8bc3d01bb4e6eeddfeb09cd8629212963bdf3999c896b52772e7d8e758b27  vanessa_socket-0.0.13.tar.bz2"