From 9e714b39b30e316828486588b5de611b8f3b2497 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 24 Jan 2011 11:16:19 -0600 Subject: testing/orbit2: promoted to main --- main/orbit2/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 main/orbit2/APKBUILD (limited to 'main') 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 +# 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" -- cgit v1.2.3