summaryrefslogtreecommitdiffstats
path: root/main/atk/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-04-01 20:49:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-04-01 20:49:18 +0000
commit92228132880d67e9ad1bf6bf1bd2abd2ef2c0c33 (patch)
tree381fd490ec4387ba1982ca8c7d3dd52d1f3d2953 /main/atk/APKBUILD
parentb6df939b9d2ff3e30c2fa0de6407e336643586a0 (diff)
downloadaports-92228132880d67e9ad1bf6bf1bd2abd2ef2c0c33.tar.bz2
aports-92228132880d67e9ad1bf6bf1bd2abd2ef2c0c33.tar.xz
main/atk: enable introspection
needed by gtk
Diffstat (limited to 'main/atk/APKBUILD')
-rw-r--r--main/atk/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/main/atk/APKBUILD b/main/atk/APKBUILD
index c9c308b48..803338833 100644
--- a/main/atk/APKBUILD
+++ b/main/atk/APKBUILD
@@ -1,19 +1,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atk
pkgver=1.30.0
-pkgrel=0
+pkgrel=1
pkgdesc="A library providing a set of interfaces for accessibility"
url="http://www.gtk.org/"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
-makedepends="glib-dev"
+makedepends="glib-dev gobject-introspection"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
depends_dev="glib-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
+ --enable-introspection \
|| return 1
make || return 1
}
@@ -22,4 +23,11 @@ package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
}
+
+dev() {
+ default_dev
+ install -d "$subpkgdir"/usr/share
+ mv "$pkgdir"/usr/share/gir* "$subpkgdir"/usr/share/
+}
+
md5sums="548d413775819fef425410739041cac3 atk-1.30.0.tar.bz2"