From 40f177d0cd30b4a3dd68ec1b394bf4fbc15db002 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Mon, 31 Oct 2011 10:06:11 +0000 Subject: testing/py-gtk: new aport GTK+ for Python --- testing/py-gtk/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/py-gtk/APKBUILD (limited to 'testing') diff --git a/testing/py-gtk/APKBUILD b/testing/py-gtk/APKBUILD new file mode 100644 index 0000000000..0df03b899e --- /dev/null +++ b/testing/py-gtk/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: +# Maintainer: Leonardo Arena +pkgname=py-gtk +_realname=pygtk +pkgver=2.24.0 +_basever=2.24 +pkgrel=0 +pkgdesc="GTK library for Python" +url="http://pygtk.org" +arch="noarch" +license="LGPL" +depends="" +depends_dev="glib-dev py-gobject-dev python-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.gnome.org/pub/GNOME/sources/$_realname/$_basever/$_realname-$pkgver.tar.bz2" + +_builddir="$srcdir"/$_realname-$pkgver + +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install + find $pkgdir -iname *.la -delete +} + +md5sums="a1051d5794fd7696d3c1af6422d17a49 pygtk-2.24.0.tar.bz2" -- cgit v1.2.3