aboutsummaryrefslogtreecommitdiffstats
path: root/main/orbit2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/orbit2/APKBUILD')
-rw-r--r--main/orbit2/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/orbit2/APKBUILD b/main/orbit2/APKBUILD
new file mode 100644
index 0000000000..bcb62da228
--- /dev/null
+++ b/main/orbit2/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=orbit2
+pkgver=2.14.19
+pkgrel=0
+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"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="ftp://ftp.gnome.org/pub/GNOME/sources/ORBit2/${pkgver%.*}/ORBit2-${pkgver}.tar.bz2"
+
+_builddir="${srcdir}/ORBit2-${pkgver}"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="7082d317a9573ab338302243082d10d1 ORBit2-2.14.19.tar.bz2"