blob: bc8ce6729f964498dcd743b1d00b1f128c954424 (
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_socket
pkgver=0.0.12
pkgrel=1
pkgdesc="User space TCP/IP pipe"
url="http://horms.net/projects/perdition/"
arch="all"
license="LGPL2+"
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
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="5ff674c1c129c0551acdebdd663d58f8 vanessa_socket-0.0.12.tar.bz2"
sha256sums="bb3fea2e2210426748029939dec564c05263dfa7f7d951ee8bc289225f19affe vanessa_socket-0.0.12.tar.bz2"
sha512sums="5b8ca9fa41e9597c3362bc109177906339ba5059433a357761eebea42998ed4eea34f793beb2a0d77880836c1c1c760171d55d0d1635658233d8154a7e71da1f vanessa_socket-0.0.12.tar.bz2"
|