summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-24 07:56:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-24 07:56:16 +0000
commit7ae1072fba012df7f5cea36c55d923c0a2f5b817 (patch)
treede45e5c18c98233b1fb07b773dfdace8c4c86ddd /testing
parent0ece70338db480ca97a5edbdc0351d09ec956269 (diff)
downloadaports-7ae1072fba012df7f5cea36c55d923c0a2f5b817.tar.bz2
aports-7ae1072fba012df7f5cea36c55d923c0a2f5b817.tar.xz
testing/py-gobject: new aport
Python bindings for the GObject library http://www.pygtk.org/
Diffstat (limited to 'testing')
-rw-r--r--testing/py-gobject/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/py-gobject/APKBUILD b/testing/py-gobject/APKBUILD
new file mode 100644
index 000000000..fe758d3c9
--- /dev/null
+++ b/testing/py-gobject/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor:
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=py-gobject
+pkgver=2.20.0
+pkgrel=0
+pkgdesc="Python bindings for the GObject library"
+url="http://www.pygtk.org/"
+license="GPL"
+depends=
+makedepends="python-dev glib-dev"
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.20/pygobject-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/pygobject-$pkgver
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="10e1fb79be3d698476a28b1e1b0c5640 pygobject-2.20.0.tar.bz2"