aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-11-20 08:02:27 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-11-20 08:18:00 +0000
commit25a5291795e287d9f80df9aff15af9f6215120ed (patch)
treeaa5c2cb0af1ea3613d02eea6983c76aa8564b543
parent98055d6d9e09016dc1557995ad51260b2216473a (diff)
downloadaports-25a5291795e287d9f80df9aff15af9f6215120ed.tar.gz
aports-25a5291795e287d9f80df9aff15af9f6215120ed.tar.bz2
aports-25a5291795e287d9f80df9aff15af9f6215120ed.tar.xz
main/vanessa_socket: upgrade to 0.0.13
Modernize APKBUILD, add check()
-rw-r--r--main/vanessa_socket/APKBUILD32
1 files changed, 14 insertions, 18 deletions
diff --git a/main/vanessa_socket/APKBUILD b/main/vanessa_socket/APKBUILD
index bc8ce6729f..3583cc5b67 100644
--- a/main/vanessa_socket/APKBUILD
+++ b/main/vanessa_socket/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=vanessa_socket
-pkgver=0.0.12
-pkgrel=1
+pkgver=0.0.13
+pkgrel=0
pkgdesc="User space TCP/IP pipe"
url="http://horms.net/projects/perdition/"
arch="all"
@@ -12,33 +12,29 @@ 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
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
export LDFLAGS="$LDFLAGS -lvanessa_logger"
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
- || return 1
- make || return 1
+ --infodir=/usr/share/info
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-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"
+sha512sums="c5f39cdf796f71f32cf0a4944f48871346d10529768777caec530451d96662fe35a8bc3d01bb4e6eeddfeb09cd8629212963bdf3999c896b52772e7d8e758b27 vanessa_socket-0.0.13.tar.bz2"