diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-24 11:16:19 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-24 11:16:19 -0600 |
commit | 9e714b39b30e316828486588b5de611b8f3b2497 (patch) | |
tree | ddc8cdea8785fd1737af82297841ac6880ab0e7c /main/orbit2/APKBUILD | |
parent | a80649d3c585744a1310a06ec5cf836bb9ffbfd0 (diff) | |
download | aports-9e714b39b30e316828486588b5de611b8f3b2497.tar.bz2 aports-9e714b39b30e316828486588b5de611b8f3b2497.tar.xz |
testing/orbit2: promoted to main
Diffstat (limited to 'main/orbit2/APKBUILD')
-rw-r--r-- | main/orbit2/APKBUILD | 39 |
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" |