aboutsummaryrefslogtreecommitdiffstats
path: root/main/orbit2
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 13:12:41 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-12 14:37:59 +0000
commit25785f34996138f8ad6e8191a946301321955234 (patch)
tree9c632330df793a85a9f490a8e20892b3968cd42c /main/orbit2
parentfcd76dc6d949f6a5b7e4d3259bf85383ef50dacc (diff)
downloadaports-25785f34996138f8ad6e8191a946301321955234.tar.bz2
aports-25785f34996138f8ad6e8191a946301321955234.tar.xz
main/orbit2: modernise, add test suite
Diffstat (limited to 'main/orbit2')
-rw-r--r--main/orbit2/APKBUILD38
1 files changed, 16 insertions, 22 deletions
diff --git a/main/orbit2/APKBUILD b/main/orbit2/APKBUILD
index b6757ab4c1..4eb654a0d9 100644
--- a/main/orbit2/APKBUILD
+++ b/main/orbit2/APKBUILD
@@ -2,50 +2,44 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=orbit2
pkgver=2.14.19
-pkgrel=3
+pkgrel=4
pkgdesc="CORBA implementation for GNOME"
url="http://projects.gnome.org/ORBit2"
arch="all"
license="LGPL"
depends=
-depends_dev="glib-dev libidl-dev"
-makedepends="$depends_dev"
+makedepends="glib-dev libidl-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/ORBit2/${pkgver%.*}/ORBit2-${pkgver}.tar.bz2
glib-2.36.patch"
-_builddir="${srcdir}/ORBit2-${pkgver}"
+builddir="${srcdir}/ORBit2-${pkgver}"
prepare() {
- local i
- 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
+ cd "$builddir"
+ update_config_sub
+ default_prepare
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --sysconfdir=/etc \
- || return 1
- make || return 1
+ --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="7082d317a9573ab338302243082d10d1 ORBit2-2.14.19.tar.bz2
-811d99415310bd2afc46c820d5558f63 glib-2.36.patch"
-sha256sums="55c900a905482992730f575f3eef34d50bda717c197c97c08fa5a6eafd857550 ORBit2-2.14.19.tar.bz2
-0eba7131ced5876f9a7b68f3de1ef09898e20483809c4f677c589b7d1cc6e885 glib-2.36.patch"
sha512sums="313e125234e8d1195be277ad125af169f12ce312cb541a4641c5d57d3c905bbdc6a46672a86a012409cf4d7af58b5122f0e5db250730b65e8d95b2d5f4c4657e ORBit2-2.14.19.tar.bz2
b90d8e200d16b735bece54454d1e2b1a7c1b75aaac83986263b5a9ac38c4235eed747408a07a266c0aaaeb9c7a75e7fda1ef1b2ed54300003da38ff2251fdcfa glib-2.36.patch"