aboutsummaryrefslogtreecommitdiffstats
path: root/main/libbonobo
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:23:06 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:23:06 -0600
commitd3f7015ca439cdfe8bd962354cfab69c18194254 (patch)
tree94da07aa99b5e6b7d7d11d17ab85d065432cf0ae /main/libbonobo
parent51b74a77b6405f658dd150bc55e1ca92966fcff8 (diff)
downloadaports-d3f7015ca439cdfe8bd962354cfab69c18194254.tar.bz2
aports-d3f7015ca439cdfe8bd962354cfab69c18194254.tar.xz
testing/libbonobo: promote to main
Diffstat (limited to 'main/libbonobo')
-rw-r--r--main/libbonobo/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/libbonobo/APKBUILD b/main/libbonobo/APKBUILD
new file mode 100644
index 0000000000..a1188d23d6
--- /dev/null
+++ b/main/libbonobo/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=libbonobo
+pkgver=2.32.0
+pkgrel=1
+pkgdesc="GNOME base library"
+url="http://www.gnome.org/"
+arch="all"
+license="LGPL"
+depends=
+depends_dev="gtk+-dev libidl-dev orbit2-dev popt-dev libxml2-dev"
+makedepends="$depends_dev flex bison"
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://ftp.acc.umu.se/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
+
+_builddir="${srcdir}/${pkgname}-${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 \
+ --disable-scrollkeeper
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="bc2b25b03ca57866a61e04852f2f53fd libbonobo-2.32.0.tar.bz2"